• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why java is called

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why java is called platform independent language?
And plzz tell me which book is best for studying core java?
[ October 03, 2008: Message edited by: Bear Bibeault ]
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This post probably belongs in 'java in general beginner'.

Java is platform independent since the class is in byte code and the JVMs are implemented independently to read the same byte code in various operating systems. So you can compile a java program in windows and run it linux without the need for any specific change.

I would suggest the head first java book or the SCJP study guide to get you up to speed in java. Good luck
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please use real words when posting to the forums. Abbreviations such as "plzz" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
'platform independent' is also an overloaded term. it means different things to different people.

Generally, when referring to java, it means that the compiled code, the bytecode, can run on any platform that has a JVM. i can put the exact same .class file on two different machines, with different OS, and it will run (assuming the JVM exists).

You cannot do that with a language like "C/C++". You have to compile a version of your binary specifically for each OS.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

If you are a beginner in Java, you should start with a good introductory book, like Head First Java by Sierra and Bates.

Note that books for the SCJP exam generally assume you already have this introductory foundation.
reply
    Bookmark Topic Watch Topic
  • New Topic