How java is platform independent?
Answer Posted / bipin kumar behera
1.java solves the problem of platform-independence by using
byte code. The Java compiler does not produce native
executable code for a particular machine like a C compiler
would. Instead it produces a format called byte
code. Java byte code written in hexadecimal.
2.This format is same in every operatingf system like Solaris workstation,linux.After comilation the interpreter reads the
the byte code and translate according to the host machine.
3.Byte code is interprted in JVM.which avalibale in all operating systems.that we install.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by inner class in java?
What is an object in java and how is it created?
What does jre stand for?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What are the two environment variables that must be set in order to run any java programs?
Can we override private method?
What is a subsequence of a string?
What is array pointers ?
What’s a deadlock?
What is java life cycle?
What is difference between final and immutable?
Difference between object and reference?
How do you compare objects in java?
How can you handle java exceptions?