JScript .NET, Part IV: Inheritance: A Final Word - Doc JavaScript
JScript .NET, Part IV: Inheritance
A Final Word
In this column we described JScript .NET's support of inheritance. Inheritance is probably not as important as encapsulation to object oriented programming languages, but is still a very important motive of these languages. We showed you how to extend base classes to derived classes, how to implement functions of interfaces, how to force extension by abstract
, and how to avoid it by final
. We taught you how to override base class methods with derived classes with override
and hide
, and how to avoid it with final
.
In this column you have learned:
- How to extend a base class
- How to write an interface
- How to mark class members as
abstract
- How to specify the overriding rules
- How to avoid overriding with
final
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: May 20, 2002
Revised: May 20, 2002
URL: https://www.webreference.com/js/column110/7.html