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

Does java allow default arguments?

1005


What does sprintf mean?

955


How to instantiate member inner class?

1087


How do you check whether the list is empty or not in java?

986


What is the applet security manager, and what does it provide?

999


What if I write static public void instead of public static void in java?

1096


How a variable is stored in memory?

998


What is meant by object oriented programming – oop?

998


What is the difference between static and global variables and also define what are volatile variables?

1067


Give example to differentiate between call by value and call by reference.

1066


Is null a value?

1047


How do you square a number in java?

1063


How do you bind variables?

1114


What is the implementation of destroy method in java. Is it native or java code?

978


Is linkedlist thread safe in java?

1005