What is virtual constructor paradigm?

Answer Posted / malini

There is no concept like Virtual Constructor and where as
Constructor cant be virtual. Constructor is a code which is
responsible for creating a instance of a class and it cant
assigned to any other object by using appending
keyword 'virtual'

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to provide special behavior for one instance of a template but not for other instances?

809


What is functions syntax in c++?

797


Explain deep copy and a shallow copy?

781


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

897


What are files in c++?

752






What is main function in c++ with example?

773


What apps are written in c++?

783


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

2746


Can a Structure contain a Pointer to itself?

777


Differentiate between an inspector and a mutator ?

891


What is the difference between an external iterator and an internal iterator?

822


What is an incomplete type in c++?

945


What are mutator methods in c++?

875


What is the latest c++ standard?

866


What is the use of endl in c++?

765