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

Difference between a class and an object?

968


Is arraylist dynamic in java?

932


Does java allow default arguments?

947


What are the default and parameterized constructors?

1018


what are Hostile Applets?

2019


What is difference between length and length() method in java ?

940


What is the difference between logical data independence and physical data independence?

984


What are the pillars of java?

867


Which list does not allow duplicates in java?

876


What is array length in java?

913


Which object oriented concept is achieved by using overloading and overriding?

1041


What is this () in java?

975


What are autoboxing and unboxing? When does it occur?

893


What's the purpose of using break in each case of switch statement?

930


What is prime number in java?

936