What is ‘is-a ‘ relationship in java?
Answer / Pradeep Kumar Mahto
'Is-a' relationship, also known as inheritance, is a type of relationship between two classes in Java where one class (subclass or derived class) inherits the properties and behaviors of another class (superclass or base class). This allows for polymorphism and code reusability.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is preflight request?
What is final modifier?
Difference between default and protected access specifiers?
Can we inherit a class with private constructor?
Difference between method overloading and overriding.
How do you sing an Applet ?
What does exp mean in math?
What's the base class of all exception classes?
what is features of jdk 1.5?
2 Answers Accenture, Satyam, TCS,
What classes of exceptions, thrown by a throw statement?
How can we achieve IPC in JAVA?
Explain the difference between transient and volatile in java?