Main Content

Subclass Applications

Subclassing built-in classes and defining interfaces

Derive classes from built-in classes to define specialized data types that extend the operations you can perform on a particular class of data. The subclass inherits the built-in class methods and behaviors and can add new methods to perform specialized operations.


Heterogeneous Class Hierarchy

Subclasses of Built-In Types

Sample Classes Derived from Built-in Classes