how to java plateform independent?

Answer Posted / jeetu choudhary

Java platform independency comes from JVM(Java Vitual Machine).
In java when a source code is executed then it converts into a intermidiate code which is known as bytecode.This intermidiate code can interprete on any system expect that system must contain the JVM.JVM interpret this bytecode and converts it into machine code.
JVM is a Hypothetical Computer Pltform.JVM is also called an extended Machine.JVM execute a java program on any computer that has a JAva ava runtime enviernment without recompiling the programe.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I debug the Java security exceptions and AccessControlExceptions?

627


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

627


What is the purpose of extern variable?

529


Is java a virus?

528


what is session in java?

739






What is java life cycle?

533


What is difference between fileinputstream and filereader in java?

555


Does treeset allow null in java?

504


How will you reverse a singly-link list?

588


Explain about arraylist?

571


How to do encapsulation in java?

568


What Is Composition?

575


Explain the key functions of data binding?

579


What is the purpose of void class?

602


what is interface in java? Explain

528