Explain the difference between Java and JavaScript?

Java is an Object Oriented Programming Language which is developed by Sun Microsystems. It is capable of running on multiple operating systems with the help of interpreter. In java, programmers create a single program which can be run on majority of operating systems. We can make stand-alone application with the help of Java. Java uses its own native code then executes it on a virtual machine i.e. JVM (Java Virtual Machine). The Java compiler converts the code into byte code. These Byte codes are machine code instruction for JVM.

Java Script is the object oriented scripting language which is developed by Netscape. Java Script code is embedded in HTML and runs directly on the browser. Java Script code is not compiled they are directly run on the browser. It is used for providing interactivity to the simple HTML pages. Java script code runs on the java script enabled browsers. The java script code is interpreted by the java script engine.


Popular posts from this blog

Bluetooth Data Transfer Example

DeCompile .apk file on ubuntu 14.04