Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition
by Paul J. Deitel - Deitel & Associates, Inc., Harvey M. Deitel - Deitel & Associates, Inc.
10.1. Introduction
This chapter continues our discussion of object-oriented programming (OOP) by introducing one of its primary features, inheritance, a form of software reuse in which a new class is created by absorbing an existing class’s members and embellishing them with new or modified capabilities. With inheritance, you can save time during program development by reusing proven and debugged high-quality software. This increases the likelihood that a system will be implemented effectively.
When creating a class, rather than declaring completely new members, you can designate that the new class will inherit the members of an existing class. The existing class is called the base class, and the new class is the derived class. (The Java programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access