Inheritance allows a new class to inherit the properties and behaviors (fields and methods) of an existing class, promoting code reuse and creating a hierarchical class structure. This enables subclasses to extend and modify the behavior of the parent class.
4.2 Inheritance.docx