Basic HTML version of Foils prepared 16 June 98

Foil 9 PPT Slide

From Overview of Advanced JavaScript -- Web Scripting Language CPS616 Technologies of the Information Age -- Spring Semester 98. by Tom Scavo,Geoffrey C. Fox


Java classes and instances are distinct
A Java class has zero or more constructors
Java property inheritance follows class hierarchy
In Java, no way to add properties at run-time
All JavaScript objects are instances
JS object definition and constructor are identical
JavaScript property inheritance follows prototype chain
JavaScript properties may be added or removed at run-time
Java vs. JavaScript (cont'd)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998