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

Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1140


What is singleton pattern?

1160


What are the different tags provided in jstl?

995


Can we have static methods in an interface?

1103


Why java applets are more useful for intranets as compared to internet?

1126


Can an interface extend another interface?

1107


What is an example of declaration?

1077


Which data type is a class in java?

1053


What is thread pool? How can we create thread pool in java?

1133


What is immutable data?

1110


What is the basic of java?

1066


Explain about serializable interface in java?

1047


What is a map in java?

1052


What is a numeric literal?

1142


What is lexicographically smallest string?

1130