how java is os independent language ?

Answer Posted / vivek ghavle

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 special format called byte
code. Java byte code written in hexadecimal, byte by byte,
looks like this:

CA FE BA BE 00 03 00 2D 00 3E 08 00 3B 08 00 01 08 00 20 08

This looks a lot like machine language, but unlike machine
language Java byte code is exactly the same on every
platform.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mdb and what is the special feature of that?

792


When is the best time to validate input?

810


Describe responsibilities of Activator?

1863


Will the general public have access to the infobus apis?

771


What are the diff types of exception?

763


Why is string immutable in java?

809


How to deploy Jar, War files in J2EE?

2381


How to determine SGA site?

2159


How can I scroll through list of pages like the search results in google?

772


What is abstract schema?

761


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

845


Can I use multiple html form elements with the same name?

809


Explain the different types of memory used by jvm?

857


Can I have an action without a form?

818


how do you Handle Front End Application data against DB with example?

1721