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
Define Destructor?
Give any criteria when you use an abstract class and an interface?
Can we override static methods? Why?
What is a ternary operator?
What are the features that are provided to make a program modular?
What if we override the conflicting method in the class?
What is diamond inheritance problem? How java 8 solves this problem?
Explain what you understand by function overloading.
Write a note on encapsulation?
What is the use of finalize method?
Explain about realistic modeling?
What is the need of multiple inheritance?
explain dynamic binding
What is the difference abstract class and interface?
Differentiate between data abstraction and encapsulation.