why constructor cannt be declar virtually?
why destructor cannt be overloaded?
Answer Posted / saurabh
destructors ae not overloaded as its mere function is to
release memory ,and the objects which are going to die
soon...and u r looking for other ways to kill those objects.
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Is abstract thinking intelligence?
What is polymorphism and example?
Templates mean
What is oops concept with example?
What are classes oop?
what's the basic's in dot net
What is encapsulation selenium?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
How many human genes are polymorphic?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Can a destructor be called directly?
What is difference between inheritance and polymorphism?
What is the purpose of enum?
What is class and object in oops?