Computer Science, asked by hippl92, 10 months ago

What is inheritance in Java?

Answers

Answered by Vaishnavi20kulkarni
5

Answer:

it is the ablitlityof an object of one class to acquire the properties of another, parent class.

hope you understand, pls mark as brainiest!

Answered by mridul1998
1

Answer:

Explanation:In Java, Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object.

Note:

1.subclass (child) - the class that inherits from another class

2.superclass (parent) - the class being inherited from

Similar questions