What is inheritance in java?

Answer Posted / glibwaresoftsolutions

In Java, inheritance refers to the idea that a class's properties can be passed down to another class. It facilitates code reuse and builds connections between various classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give any criteria when you use an abstract class and an interface?

717


Differentiate between overloading and overriding.

786


Is it possible to create partial structs, interfaces and methods?

697


explain dynamic binding

749


What is polymorphism and abstraction?

792


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

773


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

777


Explain about polymorphism?

696


What do you mean by "explicitly implemeting an interface". Give an example?

728


Name the different creational patterns in object oriented design?

749


Explain about inheritance in oops?

726


Explain what is an object?

737


How to define an abstract class?

758


State some of the advantages of object oriented programming?

834


What is the best tool for modeling and ORM framework

739