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 platform independent?

Answer Posted / abc

Platform Independence means a program can run on any OS and
h/w architecture.
To achieve this, JAVA adapted d concept of byte code, that
is converted from source code, n this byte code can be
executed on any machine in d world.

To clearly understand, lets take C compiler as an exaple.
In C, the source code can be compiled in differnt OS like
Windows, DOS, Linux, etc. by using differnt compilers for
differnt OS ,BUT in migrating from one OS to other, the OS
added some features of its own n d result would be little
bit or even completely changed , e.g., if we
use "graphics.h" in C, it will not run on Win7....
thus C is'nt platform independent.

n Remind that Platform Independence also includes that, a
program can run on any H/W architecture i.e. on any
processor...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is a singleton bad?

1002


What is a class reference?

1165


Explain the private protected method modifier?

1027


What is bool mean?

1138


Why java is considered dynamic?

1219


What is a byte string?

1166


What do you mean by of string::valueof expression in java 8?

1004


What is meant by vector class, dictionary class, hash table class, and property class?

1233


What is encapsulation in java?

1172


How will you compute size of a structure?

1264


Does A Class Inherit The Constructors Of Its Superclass?

1133


What are the two ways to create a thread?

1059


Explain about sets?

1082


What are the application of stack?

983


How do you insert a line break?

959