137k views
2 votes
__________ is the process of creating a new specialized class from a class that already exists

User Brianmario
by
8.3k points

1 Answer

7 votes

Final answer:

Inheritance is the process in object-oriented programming that enables a new class to adopt properties and methods from an existing class, fostering reusability and structure.

Step-by-step explanation:

Inheritance is the process of creating a new specialized class from a class that already exists. In object-oriented programming (OOP), this concept allows for the new class, called the subclass or derived class, to inherit attributes and methods from the existing class, known as the base class or superclass. This process fosters reusability, organisation, and structure in software development, by allowing new functionalities to be created based on existing ones without needing to rewrite code.

User Sir Hally
by
8.0k points