HELP! * GREY=local LOCAL HTML version of Foils prepared July 10 1996

Foil 19 Comparison of Java and JavaScript -- II

From Basic Lectures on Java Language Applets Graphics Networking Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96. by Geoffrey C. Fox * See also color IMAGE

JavaScript: Integrated with HTML as embedded ascii but of course HTML looks rather irrelevant at times!
Java: Applets distinct from HTML but invoked from HTML Pages
JavaScript: do not declare variables' datatypes -- Loose typing
Java: MUST declare variables' datatypes -- Strong typing
JavaScript -- Dynamic Binding -- object references computed at runtime
Java -- Static Binding -- object references must exist at compile time
Java and JavaScript are secure and cannot write to disk



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 Tue Feb 18 1997