Is it possible to have Virtual Constructor? If yes, how? If
not, Why not possible?
Answer Posted / swarupa.othuri1
There is nothing like Virtual Constructor. The Constructor
can’t be virtual as the constructor
is a code which is responsible for creating an instance of a
class and it can’t be delegated to
any other object by virtual keyword means.
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
tell me about your usual day.
Suppose you come forward with a usability recommendation, and the engineers counter that with, "All the usage data we have from millions of people suggest that is not a problem." How would you respond?
What moitivates you at work?
What are NPAs? How can they be reduced?
We have a few local competitors at Apple. In your opinion, what makes us stand out from the rest?
How do you react if you find that someone you work with does not like you?
Illustrate a few of your qualities which fall in line with HCL's vision statement.
Share your views about GST?
If you're given a jar with a mix of fair and unfair coins, and you pull one out and flip it 3 times, and get the specific sequence heads tails, what are the chances that you pulled out a fair or an unfair coin?
How do U prepare for exams ?
Do you have any second thoughts on joining us?
why do you believe you are qualified for this job?
what is the difference between smart work and hard work
What are your career plans at Subway?
give an example of how you worked on team.