• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

VERY URGENT!!!!!!!!!!!!!!!!!!!!

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is Platform independent? Explain in detail?
 
Trailboss
Posts: 23953
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm moving this thread to "Java in General (beginner)"
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
platform independence is where you can be on any type of box linux, windows, solaris etc. and as long as they have a Java Virtual Machine on their box any pure java program will run.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
platform independence is to software like asking a question and using "VERY URGENT!!!" as the topic. It can apply to anything at all.
 
PRATIBHA MATTA
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
THANX A LOT.........
BUT IF U TELL ME MORE SO PLEASE..........TELL ME
 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Platform independence can be just explained by the phrase:
"write once; run anywhere"
You can write a piece of code for one platform (let us say, windows 98) and can run in any other (say Win NT,Mac) There need not be any change in code. This is the speciality of Java.
HTH,
------------------
Regards,
Shree
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by PRATIBHA MATTA:
THANX A LOT.........
BUT IF U TELL ME MORE SO PLEASE..........TELL ME


Dear Pratibha,
If you have done programming in any other language, you would have found that a program written in one platform cannot be run in another platform. When one says platform, it refers to both the computer hardware as well as software. For eg. a C program written and compiled in an IBM Compatible, under DOs cannot be run on a Sun Sparc station running solaris operating system. Similarly a C program written and compiled in Unix/ Linux cannot be run on a Windows machine.
Java circumvents this problem by using Java Virtual Machine and platform independent bytecodes. Normally when you compile a program in C, you get an executable file, which can be directly executed by the operating system. But when you compile Java source code, what you get is a .class file which is said to be ByteCode. To exceute this byte code, you need a virtual machine which is a software that is acting as a translator between your operating system/ hardware and your program. so your program is converted into machine code by the JVM.
This byte code/ JVM makes all java codes platform independent , that is ' Write once- in any platform, and Run anywhere - in any platform.
Hope this helps. I still wonder how urgent this was to you. Was it just a ploy to attract attention. Remeber if it is , peopple will start ignoring your messages after some time. Just like the boy who cried tiger once to often just for fun...
Cheerio,
SJ
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought it was wolf....not tiger
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Sajan Joseph
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind Brett. Keep tuning your button.
SJ
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually it is Wolf.
 
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think there is a different interpretation of the story in different countries ... anyway please try to stick to the topic.
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic