Answer Posted / harsha
context,object are created in RAM. context is created
once.static methods implementaion , static varibles loads
into context only once.All those staic members avilable to
each other obviously.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is coupling in oop?
Can we create object of abstract class?
What is abstraction in oop?
What is object in oop with example?
Can a destructor be called directly?
What is class encapsulation?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is destructor example?
What is encapsulation in oop?
What is variable example?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is the diamond problem in inheritance?
What does sksksk mean in text slang?
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.
2. Give the different notations for the class.\