Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 jboss?

1020


Brief description about local interfaces?

1241


Why is string immutable in java?

1083


What is a sessionfactory? Is it a thread-safe object?

1205


What are the diff types of exception?

1039


Describe, in general, how java's garbage collector works?

1011


What is a clone?

1034


What is metaspace?

1014


What are the steps to write p-to-p model application?

2458


What must a class do to implement an interface?

1171


How primary key is implemented in Oracle?

2429


What is the highest-level event class of the event-delegation model?

1077


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4242


What is ripple effect?

1053


Can I map more than one table in a cmp?

1061