Is it possible to have Virtual Constructor? If yes, how? If
not, Why not possible?
Answer Posted / mohd waseem
No it is not possible to have a virtual constructor.
Because the constructor is the same as class name and is
used to initialize the data members of class by implicitly
and also explicitly.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Where do you want to become ten years from now?
Give us your family background?
How do you detect whether or not a word is a palindrome?
why do you plan to work in the banking industry?
how do you establish good communication and information flow with others?
Your qualities as a professional?
Suppose you are in a dark room and you have the following things- a candle, a wood stove and a gas lamp. Considering that you only have one match, what would you light first?
Tell me about a time when you missed an obvious solution to a problem?
Are you ready to re locate to an entirely different city?
What do you know about the Job profile
If offered the job, how long do you plan to stay at CarMax?
why there is a gap of 1 year in your academics (after intermediate)?
how were the previous interviews?
give an example of risk that you had to take. Why did you decide to take the risk?
What are your reasons for choosing this college and this branch?