Answer Posted / khadeer.k
virtual constructors are used when we need to avoid the
copy same. desructor frees the memory with a ~(tilde) symbol
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
What are oops functions?
What is polymorphism give a real life example?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is the point of oop?
Can private class be inherited?
write a program to find 2^n+1 ?
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?
What is polymorphism what is it for and how is it used?
Which is better struts or spring?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What are the 4 main oop principles?
what type of questions
What do you mean by abstraction?
What is overloading and its types?