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

Can we sort a map in java?

574


What is slash r?

539


Explain java coding standards for classes or java coding conventions for classes?

612


what do you mean by java annotations?

544


Can a java program have 2 main methods?

543






is there a separate stack for each thread in java? : Java thread

536


Explain the concept of hashtables?

611


What do you mean by thread safe?

537


Give a practical example of singleton class usage?

591


What is the difference between compare and compareto in java?

491


Can we sort array in java?

525


What is the difference between an interface and an abstract class?

536


What is a superclass?

920


How do I type unicode?

531


Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

542