Object-Oriented Programming with JavaScript, Part I: Inheritance: A Final Word - Doc JavaScript | WebReference

Object-Oriented Programming with JavaScript, Part I: Inheritance: A Final Word - Doc JavaScript


Object-Oriented Programming with JavaScript, Part I: Inheritance

A Final Word

In this column we presented Part I of our series about object-oriented programming with JavaScript. We focused on the inheritance principle and how it is emulated by the language. We showed you two different ways to implement inheritance, and delved into the prototyping method. We demonstrated how to check for a superclass/subclass relationship between objects. We explained how to list an object's properties, and how to verify that indeed a certain property exists. We rounded up this column by a comparison of JavaScript and Java as object-oriented languages.

In this column, you have learned:

https://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: March 12, 2001
Revised: March 12, 2001

URL: https://www.webreference.com/js/column79/11.html