I am new to programming. i have some doubts in JavaScript. I have Java language in my computer, can I develop the javascript in java language or Javascript has any language?

4 Years
Discussion Span
Last Post by IIM

Java and JavaScript are two different languages. Java is a full-fledged interpreted programming language, whereas JavaScript is primarily used in client side website scripting.


How is JavaScript different from Java?
The JavaScript programming language, developed by Netscape, Inc., is not part of the Java platform.
JavaScript, does not create applets or stand-alone applications. In its most common form today, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML.

Listed are key differences between the Java and JavaScript.
Java is an OOP programming language while Java Script is an OOP scripting language.
Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only.
Java code needs to be compiled while JavaScript code are all in text.
They require different plug-ins.

the above info is taken from http://www.java.com/en/download/faq/java_javascript.xml
To get more difference just click http://en.lmgtfy.com/?q=difference+between+java+and+javascript

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.