10 January 2006

OOP: Subclass (Definitions)

"A class that extends another class directly or indirectly. In Java, all classes (except Object itself) are subclasses of the class Object." (Marcus Green & Bill Brogden, "Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035)", 2003)

"Also known as a child class, a subclass inherits the methods and instance variables from its parent or superclass." (Stephen G Kochan, "Programming in Objective-C", 2003)

"A specialization of another class (the superclass). A subclass inherits the attributes and methods of the superclass." (Craig Larman, "Applying UML and Patterns", 2004)

"A class that is derived from a parent or superclass. Compare with superclass." (Michael Fitzgerald, "Learning Ruby", 2007)

"A class at the 'specific' end of an inheritance relationship; a child class." (Jan L Harrington, "SQL Clearly Explained" 3rd Ed., 2010)

"A class that is derived from a parent class. Also called a sub class or derived class." (Rod Stephens, "Start Here!™ Fundamentals of Microsoft® .NET Programming", 2011)

"The act of making a subclass from a parent class." (Rod Stephens, "Start Here!™ Fundamentals of Microsoft® .NET Programming", 2011)

"A class that defines some of its methods in terms of a more generic class, called a base class. Note that classes aren’t classified exclusively into base classes or derived classes: a class can function as both a derived class and a base class simultaneously, which is kind of classy." (Jon Orwant et al, "Programming Perl" 4th Ed., 2012)

"A class derived from a parent class. The child class inherits properties, methods, and events from the parent class." (Rod Stephens, "Beginning Software Engineering", 2015)

"If class A inherits from class B, then we say that 'A is a subclass of B'" (Nell Dale et al, "Object-Oriented Data Structures Using Java" 4th Ed., 2016)

"A class that extends another. The subclass inherits the public and protected methods and variables of its superclass. See also extends." (Daniel Leuck et al, "Learning Java" 5th Ed., 2020)

No comments:

Related Posts Plugin for WordPress, Blogger...

About Me

My photo
IT Professional with more than 24 years experience in IT in the area of full life-cycle of Web/Desktop/Database Applications Development, Software Engineering, Consultancy, Data Management, Data Quality, Data Migrations, Reporting, ERP implementations & support, Team/Project/IT Management, etc.