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


Please Help Members By Posting Answers For Below Questions

What do you mean by inner class in java?

568


What is an object in java and how is it created?

591


What does jre stand for?

609


What is the exact difference in between Unicast and Multicast object? Where will it be used?

585


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

612






What are the two environment variables that must be set in order to run any java programs?

531


Can we override private method?

556


What is a subsequence of a string?

549


What is array pointers ?

607


What’s a deadlock?

612


What is java life cycle?

539


What is difference between final and immutable?

561


Difference between object and reference?

682


How do you compare objects in java?

503


How can you handle java exceptions?

529