0

How is JavaScript different from Java?

It's not the most powerful or the most flexible language out there, but it's a great language for exploring these concepts.JavaScript is a verypractical language to know.But it is a language that works with and manipulates web pages.

Java and JavaScript are totally different languages andare not related in any meaningful way. JavaScript would't run directly on the operating system, but it is a part of programming language or refer as scripting language meaning it is more limited programming languages that are embedded inside another program.

For example, ActionScript is the programming language that we use inside Flash. VBScript can be used inside Microsoft office, and JavaScript only works inside the web browser.

1 Answer

Michael Vicente

A quick brief differences between the two based on the Java published article.

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, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable with simple HTML.

Key differences between 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.