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
Can java hashmap have duplicate keys?
What are the features in java?
What are the various access specifiers in java?
Can we override data members in java?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
How many threads can I run java?
What is the Concept of Encapsulation in OOPS
Does java return by reference?
Difference between static and dynamic class loading.
What are internal and external variables?
What is variable explain with example?
Mention a package that is used for linked list class in java.
What are anonymous inner classes?
Why do we need variables?
What do you mean by light weight and heavy weight components?