Answer Posted / simranjit kaur
java is not purely oops based.because java cann`t suppport
multiple and multi level inheritance.
but java support
some oops aaplications like
encapsulation ,inheritance,abstraction.and polymorphism.
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Which type does string inherit from?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
#include
to find out the minimum of two integer number of two different classes using friend function
What is class and example?
What is difference between polymorphism and inheritance?
Why do we use class?
What is encapsulation in simple terms?
What is encapsulation in oops?
Can a destructor be called directly?
What is object-oriented programming? Webopedia definition
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 are the advantages of polymorphism?
What is the difference between a constructor and a destructor?
Why do pointers exist?