What is inheritance in java?

Answers were Sorted based on User's Feedback



What is inheritance in java?..

Answer / nashiinformaticssolutions

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

What is inheritance in java?..

Answer / 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

More OOAD Interview Questions

What are the types of polymorphism?

0 Answers  


What is the @functionalinterface annotation?

0 Answers  


Explain method overriding.

0 Answers  


Why do we separate interface from implementation?

0 Answers  


Describe the Diamond problem. Where does this problem occur?

0 Answers   Tech Mahindra,


How to differentiate between a CreateObject() and GetObject() ?

0 Answers   CGI,


If a class inherits an interface, what are the 2 options available for that class?

0 Answers  


Is is possible to define our own functional interface?

0 Answers  


What is the default access modifier in a class?

0 Answers  


Explain colloboration

0 Answers  


What are abstract methods?

0 Answers  


What is the main difference between a class and an object?

0 Answers  


Categories