Answer Posted / shashank agrawal
No, This is not possible because virtual is used for avoid
overriding and the constructor is called when the object of
that class has been created so in this case overriding is
not possible then to make the constructor as virtual is
useless.so we dont create it virtal.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Can a constructor return a value?
which of the following is not an secondary constant a) array b) real c) union
What are the unique features of C++.
What is c++ iterator?
Comment on local and global scope of a variable.
What is the difference between function overloading and operator overloading?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Does improper inheritance have a potential to wreck a project?
Mention the storage classes in c++.
What is the difference between structures and unions?
What is a buffer c++?
What are structs in c++?
Do class declarations end with a semicolon?
What is abstraction in c++?
What are enumerations?