Hi

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?

Recommended Answers

All 2 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.