Basic ConceptView more random threads:
- What is Apache server and mysql
- Why it is not working "CmdLineArgsApp.class"
- Error in JAVA: 25099 during Java installation
- What is OPERATOR OVERLOADING?
- what is Null values in java
- change the size pf buttons in java 2011
- whats the difference in node stream and filter stream?
- How find the data in ArrayList? 2011-12
- Proplem in code .help please
- Java forum for usa students 2011 for helping
When you write a program in C++ it is known as source code. The C++ compiler converts this source code into the machine code of underlying system (e.g. Windows) If you want to run that code on Linux you need to recompile it with a Linux based compiler. Due to the difference in compilers, sometimes you need to modify your code.
Java has introduced the concept of WORA (write once run anywhere). When you write a java program it is known as the source code of java. The java compiler does not compile this source code for any underlying hardware system; rather it compiles it for a software system known as JVM (This compiled code is known as byte code). We have different JVMs for different systems (such as JVM for Windows, JVM for Linux etc). When we run our program the JVM interprets (translates) the compiled program into the language understood by the underlying system. So we write our code once and the JVM runs it everywhere according to the underlying system.
java virtual machine and basic concept.jpg
This concept is discussed in detail below
Sponsored Links
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)