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
Which package is used for pattern matching with regular expressions?
Can a constructor be protected?
What are controls and their different types in awt?
what is the difference between Object Based Language and Object Oriented Language?
What is generics in java interview questions?
What is variable declaration and definition?
Is an integer an object?
How objects are stored in java?
Can a class extend more than one class?
What is meant by stack and queue?
What do you understand by the bean persistent property?
How do you make an arraylist empty in java?
Is java a compiler?
Explain wait(), notify() and notifyall() methods of object class ?
How to overcome the exception object reference not set to an instance of object?