Specialization, Extension, and Inheritance
- slide 21 : 40
Class Inheritance in C#
class-modifier
class
class-name
:
super-class-name
{
declarations
}
class A {} class B
: A
{}
B is said to be a
subclass
of A, and A a
superclass
of B. A is also called the
base class
of B.