Page 1 of 3

Compare and Contrast Java and Javascript

Continues for 2 more pages »
Read full document

Compare and Contrast Java and Javascript

Page 1 of 3
Compare and Contrast Java and JavaScript
WEB/420 Web Programming II
Mr. Caleb Green
January 31, 2007

TEAMS MEMBER: Gladys Burton, Kassindra Davidson, Corine Holmes, Christina Kennedy, James Mustin, Josh Sheppard, Lura Wade

Contrary to a vast amount of opinions and thinking Java and JavaScript are NOT the same programming languages. The JavaScript language resembles Java in certain ways, but does not require the long typing and strong type checking that Java requires JavaScript supports most of Java's expression syntax and basic control flow constructs. In contrast, Java's compile-time system of classes built by declarations, JavaScript supports a run-time system based on a small number of data types representing numeric, Boolean, and string values. It has a simple instance-based object model that still provides significant capabilities. The only thing Java and JavaScript have in common is their names. JavaScript was originally name Live Script Netscape created JavaScript to allow control of Java applets on web pages but ironically this evolved into a means for creating programs on websites like pop-up windows, drop-down menus, and additional things. JavaScript is not complied. Java Script to put it simply can be described as an important ingredient to one's favorite recipe. JavaScript is simply mixed right in with the HTML. Java would be used for highly interactive things such as putting an arcade system game on the web. JavaScript, however, would be used more to enhance the functionality of a web page as you can attach bits of code to various objects on your page. (Hansen,D). While Java is drastically more difficult than JavaScript and is not limited to just the internet, Java is quite popular with professional developers. One of Java's best features is portability. Java is independent, one would have no problems applying Java to any PC the language should be the same no matter what one learns Java...