Why Java is a platform independent language?
Answer Posted / prapanch
platform independent means,the java compiled program can be
run on any operating system.because when you compile a
program you will get a class file which contains byte code
which is specific to java. that byte code can understand by
jvms (java virtual machines).for different operating
systems different jvms will be there.so the jvm will
convert the byte code into machine understandable code.so
as the jvm is different for different operating systems no
need to worry much,that will take care of explaining to the
os.ok.
| Is This Answer Correct ? | 126 Yes | 15 No |
Post New Answer View All Answers
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What are strings in physics?
What is parameter example?
What data structures are used to perform recursion?
How can constructor chaining be done using this keyword?
Where to store local variables?
Can we use string in the switch case?
Can we instantiate interface in java?
What is default locale java?
What is size () in java?
What is the use of inner class?
What is struts in java?
Why chararray() is preferred over string to store the password?
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
How do you remove duplicates from an array in java?