Answer Posted / neeraj03
'string' keyword is not valid in java, 'String' is the
correct keyword and it's a class.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
any one please tell me the purpose of operator overloading
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 is oops with example?
What is oops concept with example?
What is encapsulation in oops?
What are the types of abstraction?
What is polymorphism what is it for and how is it used?
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 difference between multiple inheritance and multilevel inheritance?
When not to use object oriented programming?
What is difference between inheritance and polymorphism?
How do you achieve polymorphism?
Why is there no multiple inheritance?
Which language is not a true object oriented programming language?
what are the realtime excercises in C++?