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 we override static methods? Why?

508


Difference between composition and inheritance ?

548


What is abstract method?

530


What is the function of dynamic typing?

563


Differentiate between an abstract class and an interface?

554






Is is possible to define our own functional interface?

595


Whether static method can use nonstatic members?

541


What is constructor and virtual function? Can we call virtual funciton in a constructor?

601


What is a virtual function?

570


Explain about object oriented programming?

594


What is the use if instanceof keyword? And how do refer to a current instance of object?

554


What is overriding?

602


What is Overloading ? Is it similar to overriding ?

578


Explain what a method is?

610


What is the function of messaging metaphor?

582