Answer Posted / sandeep kaur
java is an Object Oreiented Language..but it is not a pure
Object oriented Programming Language..because it does not
support all the features of OOP.
One Reason:
All the data types are not objects..but java support all
these Data Types.But in OOP Language everything should be
objects and methods.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
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 abstraction in oops?
What are the 3 principles of oop?
What is polymorphism explain its types?
What are the 4 main oop principles?
Can static class have constructor?
Why is there no multiple inheritance?
What is polymorphism in oop example?
What is the difference between a mixin and inheritance?
What is coupling in oops?
What is the difference between a constructor and a destructor?
Can enum be null?
What is basic concept of oop?
What is multilevel inheritance?
How do you answer polymorphism?