how to java plateform independent?

Answers were Sorted based on User's Feedback



how to java plateform independent?..

Answer / chandru

Hi... Java is a platform independent language.After
compiling the ".java" file ,that will be converting into
the ".class" file,which is a byte code having the
capability run on any OS.Basing on the concept byte code
java achieving the platform independent,it leads to "Write
onece run anyware".

Is This Answer Correct ?    28 Yes 0 No

how to java plateform independent?..

Answer / umer gorsi

compile once and run every where that is why its platform independent.

Is This Answer Correct ?    18 Yes 0 No

how to java plateform independent?..

Answer / 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

how to java plateform independent?..

Answer / madhan kumar.s

In our java progarm compile one time but run more then one
time in any other system

Is This Answer Correct ?    1 Yes 0 No

how to java plateform independent?..

Answer / saritha

it means the programme will be executed any platform by the
jvm....

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is executor memory?

0 Answers  


What is use of valueof () in java?

0 Answers  


why java does not support unsigned keyword?

1 Answers  


Need 2+ yrs experienced java techinical question papaer for company Iflex

1 Answers   TCS,


What is a final class ?

0 Answers  






What ide should I use for java?

0 Answers  


What is array length in java?

0 Answers  


Is age discrete or continuous?

0 Answers  


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


what is difference between abstract and interface? can i give real time example for the two topics?

7 Answers  


What is vector?

0 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


Categories