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

Name four predefined macros.

592


When is the copy constructor called?

627


Why do we use classes in programming?

570


Can I uninstall microsoft c++ redistributable?

602


What are the effects after calling the delete this operator ?

554






Is c++ a programming language?

593


Why ctype h is used in c++?

521


Is map ordered c++?

592


What is object oriented programming (oop)?

619


What is lambda expression c++?

576


What is c++ and its uses?

618


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1746


What is the use of turbo c++?

551


Explain static and dynamic memory allocation with an example each.

640


Can we define function inside main in c++?

551