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...

Why Java is a platform independent language?

Answer Posted / shital mhetre

Platform independent is nothing but write-once
Run-Anywhere.It means program can run on any Operating
System(OS).

compiler Interpreter
Java source code------->M/C code------->Linux or windows
javac JVM
Fig.

When you compile a source code by using javac compiler you
will get .class file which contains byte code.
that byte code can understand by JVM(Java Virtual Machine).
so, the JVM is different for different OS(operating system).
after that the JVM will convert the byte code(by using
interpreter) into machine understandable code i.e 1's & 0's.
Java is compiler as well as Interpreter Programming Language.

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use static class instead of singleton?

1008


What is a protected method?

1095


Does substring start with 0?

946


Explain wait(), notify() and notifyall() methods of object class ?

994


How do you remove all elements from an arraylist in java?

974


What are the 6 mandatory procedures for iso 9001?

965


What is constant in programming?

1046


How to reverse a string in java?

1025


Explain try and catch keywords in java?

1153


Can we write any code after throw statement?

1019


Which class is the superclass of all classes?

1076


What is the properties class in java programming?

958


what is the difference between yielding and sleeping? : Java thread

922


What is an example of declaration?

959


Tell us something about set interface.

966