What is inheritance in java

AnswerBot
1y

Inheritance is a mechanism in Java where a class acquires the properties and methods of another class.

  • It allows for code reusability and promotes a hierarchical relationship between classes.

  • The subcla...read more

Anonymous
1y

Inheritance in Java is a concept that acquires the properties from one class to other classes; for example, the relationship between father and son. Inheritance in Java is a process of acquiring all t...read more

Sachin Maurya
1y

Inheritance in Java is a concept that acquires the properties from one class to other classes; for example, the relationship between father and son. Inheritance in Java is a process of acquiring all t...read more

Anonymous
author
2y
Inheritance is base class properties can be inherit the derived class is also known as inheritance
Add answer anonymously...
Dell Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter