Difference between Java and JavaScript
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.
|
How to obtain a performance profile of Java programJava - performance profile in Java - To improve the performance of a program, performance analysis is used. The usual purpose of this analysis is to determine which sections of a program to optimize......
Why doesn't Java run on all platforms?Java runs mostly on all platforms. For running a Java program we need JVM on all the platforms. If JVM is not installed on any platform than we are not able to run ...