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

What is the first name of c++?

553


When one must use recursion function? Mention what happens when recursion functions are declared inline?

636


What is namespace std; and what is consists of?

649


how to access grid view row?

1806


write a programme to get a character and thier ASCII value

2582






Describe exception handling concept with an example?

544


What does I ++ mean in c++?

573


What is istream c++?

558


Is c++ harder than java?

552


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?

1739


Define a constructor?

572


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

641


What is the difference between the compiler and the preprocessor?

598


Can a program run without main in c++?

571


What are the advantages of prototyping?

553