Answer Posted / rani
No, we cannot have virtual constructor. Because constructor
is usually use to create instance of a class and we cannot
make it virtual.
| Is This Answer Correct ? | 47 Yes | 2 No |
Post New Answer View All Answers
Write a struct time where integer m, h, s are its members?
what is Member Functions in Classes?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
Does improper inheritance have a potential to wreck a project?
What is java and c++?
What is a type library?
What is virtual methods?
Can a new be used in place of old mallocq? If yes, why?
What are the advantages of using typedef in a program?
How are pointers type-cast?
What is an html tag?
What is private, public and protected inheritance?
What are the advantages of using a pointer?
How can you say that a template is better than a base class?
what is upcasting in C++?