What is inheritance?

Answer Posted / krishna kumar.e

It is used to division for sub subclassess.Abstractclassess
are not allowed in inheritance because it has no body.

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an interface have an inner class?

612


Can you instantiate an abstract class and what is an inner class?

556


Explain the meaning of object in object oriented programming?

612


What are the rules to define a functional interface?

534


What is the difference between aggregation and composition?

513






Can a class implement two interfaces having default method with same name and signature?

580


What is Overloading ? Is it similar to overriding ?

583


What is the use of destructive method?

543


Does java support multiple inheritance? if not, what is the solution?

543


Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?

573


Explain about object oriented programming?

600


What is the super keyword?

611


What is the @functionalinterface annotation?

540


What are a base class, subclass, and superclass?

561


Explain the implementation phase with respect to oop?

552