June 19, 2002 - The Object Class | WebReference

June 19, 2002 - The Object Class

Yehuda Shiran June 19, 2002
The Object Class
Tips: June 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Every class inherits from a base class. This statement is true because all classes are implicitly derived from the Object class. The following definition of class Foo:

  class Foo {/* members should go here */}
is identical to this alternative definition:

  class Foo extends Object {/* members should go here */}
To learn more about JScript .NET, go to Column 111, JScript .NET, Part V: Polymorphism.