Respuesta :

The main advantage of inheritance is reusability of the code is inheritance. The main disadvantage of inheritance is the close coupling between the base class and the inherited class.

Inheritance is a crucial OOP tenet (Object-Oriented Programming). The process in Java that allows one class to inherit the characteristics (fields and methods) of another class is known as inheritance. Inheritance in Java refers to the process of building new classes from older ones. The methods and properties of a class that inherits from another class can be used again. You can also add additional fields and methods to your existing class.

By using inheritance, we may create a class that has all the methods and attributes of another class.

The class being inherited from, often known as the base class, is the parent class.

The class that inherits from another class is referred to as a child class or derived class.

To know more about Object-Oriented Programming click here:

https://brainly.com/question/11023419

#SPJ4

RELAXING NOICE
Relax