Inheritance

« Back to Glossary Index

Inheritance allows a class to acquire properties and methods of another class. It promotes code reuse and hierarchical design. Inheritance must be used carefully. Example: A subclass extending a base class.


← Back

« Back to Glossary Index