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
How strings are created in java?
Does treeset allow null in java?
What is better - 'bit-shift a value' or 'multiply by 2'?
Can we sort hashmap in java?
What happens when a thrown exception is not handled?
What is length in java?
Can constructor be inherited?
What is meant by interface?
Explain what access modifiers can be used for methods?
What is module in oop?
What is static method with example?
What is tostring () method?
Explain with example the concept of constant variable in java.
What is deserialization?
What data type is string java?