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


Please Help Members By Posting Answers For Below Questions

What would you consider your most difficult assignment?

679


What are the weaknesses of personas? How do you overcome those weaknesses?

829


what do you regret in your life?

669


Name the different types of bank accounts?

684


What quality of yours or personal trait matters the most in your career at Allstate?

796






What qualities would you like to see in your boss?

677


Why don't you make your future with this hobby?

692


situation where others disagreed with your ideas.

700


Would you invest in UK real estate now?"

708


If we hire you, how long do you plan to be associated with us?

787


What first made you want to be an engineer?

715


Why would you or would you not invest in Apple?

756


state any two of your weaknesses and strengths.

636


On a personal level, do you purchase products online or from a shop?

711


How can you relate the goals you have for yourself to the goals of Ross Stores?

693