Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Sunil Garg   on Jun 13 In Java Category.

Question Answered By: Gustavo Taylor   on Jun 13

That i don't think is platform  independence. Even if you have 2 or more
different OS on your system, the underlying machine code is the same
since u have 1 processor only. Whether u compile using VC on windows or
gcc on Linux both produce the machine code for the same processor. What
differs are the libraries or other related stuff.

What platform independence means that your code will run on different
processor architectures. i.e. you write your code for your pc and you
can move it to say a sun SPARC machine, or an IBM mainframe, or even a
Nokia mobile phone. It will work since the task of converting byte code
to machine code is of the Java virtual machine.



This Question has 6 more answer(s). View Complete Question Thread

Didn't find what you were looking for? Find more on Why java is platform independent ? Or get search suggestion and latest updates.