Which term refers to a way of organizing classes that share properties in java
Answers
Answered by
21
Answered by
1
Inheritance is the term refers to a way of organizing classes that share properties in java.
Explanation:
- Java inheritance is a method in which one object acquires all of a parent object's properties and behaviors. Inheritance is a way of sharing property from an existing class into a new class for object-oriented languages. Upon inheriting from an existing class, you can reuse parent class methods and fields.
- The class that inherits the properties of others is known as subclass (derived class, child class) and the class whose properties are inherited is called superclass (base class, parent class).
Similar questions