Physics, asked by brokenangel21, 2 months ago

What Is Inheritance In Java ༄?
IB me.​

Answers

Answered by disha6711
3

Answer:

Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object. ... The idea behind inheritance in Java is that you can create new classes that are built upon existing classes. When you inherit from an existing class, you can reuse methods and fields of the parent class.

Answered by taesha43
2

Answer:

Inheritance can be defined as the process where one class acquires the properties (methods and fields) of another. ... The class which inherits the properties of other is known as subclass (derived class, child class) and the class whose properties are inherited is known as superclass (base class, parent class).

Hope it helped you mate

Please mark me as the brainliest

Similar questions