Can we have "Virtual Constructors"?

Answer Posted / vadivel

No, we cannot have virtual constructor because at this time
(during object creation or intialization) virtual table not
yet created.

Is This Answer Correct ?    24 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many namespaces are there in c++?

563


What is c++ course?

586


What is c++ coding?

660


Can union be self referenced?

580


Explain object slicing in c++?

589






What things would you remember while making an interface?

566


Can you Mention some Application of C/C++?

628


What are disadvantages of pointers?

568


Why we use #include conio h in c++?

597


What is vector string in c++?

578


What is constructor and destructor in c++?

621


What is the full form of ios?

559


Write a function that swaps the values of two integers, using int* as the argument type?

609


Which software is used to run c++ program?

554


What causes a runtime error c++?

589