What is inheritance in java

AnswerBot
1y

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

  • Allows code reusability and saves time

  • Parent class is called super class and child class is called...read more

Chandru Chandru
2y

It is used to access the one class property it another class property.

Ranjay Kumar
2y

It is a process to Acquiring the properties or behaviour one class to another class that is known as Inheritance.

Ranjay Kumar
2y

It is a process to Acquiring the properties and behaviour one class to another class.

Anonymous
2y

The process of sub class acquiring all the properties and behaviour of the super class is called inheritance.

Add answer anonymously...
TCS 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

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