May 31, 2002 - Extending Base Classes
![]() |
May 31, 2002 Extending Base Classes Tips: May 2002
Yehuda Shiran, Ph.D.
|
The syntax for extending a base class is as follows:
class NewClass extends BaseClass {
[classmembers]
}
where NewClass is the new class, BaseClass is the base class, and classmembers are the additional class members of the new class. They are added to whatever class members are defined in the base class.To learn more about JScript .NET, go to Column 110, JScript .NET, Part IV: Inheritance.


Find a programming school near you