Answer Posted / baalu aanand
No, because
1) data types not declaring by object except String, data
types are declaring in Literal types
2) It not support Multilevel inheritance
3) It does n't support operator overloading
So, java is not purely OOP concept
Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What are the three parts of a simple empty class?
What are the benefits of polymorphism?
what are the different types of qualifier in java?
What are oops functions?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
what is graphics
What is cohesion in oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Give two or more real cenario of virtual function and vertual object
Is enum a class?
What is the difference between a constructor and a destructor?
Why do we use encapsulation in oops?
What are the three main types of variables?
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.
#include