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

In C we use only compiler. Why java uses both compiler and
interpreter? What is its significance?

Answer Posted / kuldeep sharma

Java is Platform Independent language it uses Virtual
System (JVM) in an existing operating system to run
programs.
The JVM itself is not Platform independent it is platform
dependent. but its functionality is same for all verison of
JVM for different OSs.

The Source Code of a Java Program is compiled to avail the
advantages of compiler like fast development, i mean all
the errors are checked and displayed by the compiler at once
(in 99.99% cases) to make the code error free.

An error free Java Code is converted into BYTECODE ;
directly understood by the JVM(for all OSs).

Now consider we compiled a.java >> a.class on linux, the
a.class is portable and runnable on other OS like Windows
because class files are fun by JVM but not by the OSs that
why we can say
Java is platform Independent.

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have a method name same as class name in java?

994


How do you use compareto in java?

928


Why are the destructors for base class and derived class called in reverse order when the program exits

2129


define the terminology association.

1048


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1866


what are abstract functions?

977


What is garbage collection? What is the process that is responsible for doing that in java?

1059


What are facelets templates?

980


How do you download stubs from Remote place?

1712


Explain exception chaining in java?

1088


What are white spaces in java?

980


What are the advantages of defining packages in java?

926


What is meant by tab pans?

1133


Can classes declared using the abstract keyword cab be instantiated?

1007


What does index mean in java?

927