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

when there is a need of jvm then how we can say that java
is a platform independent language?

Answer Posted / vatsal doshi

JVM is actually a virtual machine, which operates at one level of abstraction above the actual platform.

Platform = OS + Underlying Hardware

Now, Java compiled code(byte code) is targetted to run on JVM, independent of underlying actual platform.

So, Java code written on windows can be directly run on linux/mac/solaris, without recompilation, provided JVM is installed in the target machine.

We have different implementations of JVM for different platforms. The advantage is that though JVM is platform dependent, but the compiled code now becomes platform independent.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does t in java mean?

959


Explain about procedural programming language or structured programming language and its features?

1049


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2687


What is a java object and java application?

999


Is it possible to instantiate the abstract class?

927


What is r in java?

1013


How is hashcode calculated in java?

995


What is set string?

1111


How do you sort a list in java?

984


Can I declare class as static or private?

933


What are the common uses of "this" keyword in java ?

984


What is the difference between int and integer in java?

997


What invokes a thread's run() method in java programming?

1140


Why java is not 100% object-oriented?

1452


Explain about main thread in java?

1049