How to construct virtual constructor
Answer Posted / richa
Constructors can't be virtual in C++.It is an error.The
destructors on the other hand can be virtual.
| Is This Answer Correct ? | 29 Yes | 4 No |
Post New Answer View All Answers
Why do we use double in c++?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
When should I use unitbuf flag?
What is a singleton c++?
Describe new operator and delete operator?
How can I learn c++ easily?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
Explain explicit container.
What is the difference between delegation and implemented-in-terms-of?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is the use of object in c++?
What is implicit pointer in c++?
Why do we use iterators?
What is a driver program?
What's the hardest coding language?