PDA

View Full Version : what is difference b/w Java and Java Script?



saneha
04-24-2011, 09:15 PM
what is difference b/w Java and Java Script?

Vuhelper
04-24-2011, 09:18 PM
JavaScript and Java are two completely different things. Java is a Complete Programming Language developed by SUN, where as JavaScript a client side scripting language developed by Netscape.

JavaScript is a scripting language, and as such it isn’t compiled. A JavaScript enabled browser takes the script and process it, it would then execute the instructions on the script. The main use of JavaScript is to provide a level of interactivity to web pages that are not achievable with simple HTML.



1. Java is an OOP programming language while Java Script is an OOP scripting language.

2. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.

3. Java code needs to be compiled while JavaScript code are all in text.

4. They require different plug-ins.