how to java plateform independent?
Answers were Sorted based on User's Feedback
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 |
Answer / umer gorsi
compile once and run every where that is why its platform independent.
| Is This Answer Correct ? | 18 Yes | 0 No |
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 |
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 |
Answer / saritha
it means the programme will be executed any platform by the
jvm....
| Is This Answer Correct ? | 1 Yes | 1 No |
'A class is a template for an object' explain this statement.
0 Answers Akamai Technologies,
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What must a class do to implement an interface in java programming?
How do you test a method for an exception using junit?
why we write public static void main (String args[]) in core java plz explain briefly??????????????????
List implementations of list interface?
How do you classify Dialog Box?
Is arraylist a class in java?
we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on-startup> in deployment descripter for loading servlets like serv1 N serv2? so 'll it take serv1 or serv2
How does a for loop work?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
how session will be expired ?