what is platform independent?why java is called so... |
| |
|
|
|
Regular Coder Posts: 50 Topics: 19
|
|
|
July 16, 2010, 09:18:03 PM
|
Platform independent means the execution of the program is not restricted by the type of os environment provided...thereby make it possible to process the program at any type of environement available. Java is a platform independent language becoz of the bytecode magic of java. In java when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install. Whereas C and C++ are complied languages which makes them platform dependent. The source code written in C / C++ gets transformed into an object code which is machine and OS dependent. That's the reason why C and C++ languages are termed as Platform Dependent. ===================== Herman Miller| Herman Miller Chairs
|
|
| |
|
|
|
Code Guru
Location: India
Gender:  Posts: 1387 Topics: 105
|
|
|
July 16, 2010, 11:46:20 PM
|
|
Thank you for posting this information. We appreciate it.
|
|
| |
|
|
|
Skilled Coder Posts: 103 Topics: 4
|
|
|
July 18, 2010, 09:42:01 AM
|
|
Yes, very good discussion. I wasn't familiar with why Java was platform independent, but the concept is quite interesting. Cheers my friend!
|
|
| |
|
|
|
New Poster Posts: 2 Topics: 0
|
|
|
August 11, 2010, 01:34:39 AM
|
|
In java when we execute the source code. . . it generates the . class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install. . thereby make it possible to process the program at any type of environement available.
________________________________________________________________________________________________________________________________________________________
Want to get-on Google's first page and loads of traffic to your website? Hire a SEO Specialist from Ocean Groups seo pecialist
|
|
| |
|
|
|
New Coder
Location: UK
Gender: 
Age: 31
Posts: 16 Topics: 2
|
|
|
February 04, 2011, 11:00:38 PM
|
|
Hello Friends........
Platform independent means write once run anywhere .Java is called so because it can run on any machine having the java core independent of the platform.
Thanks
|
|
| |
|
|
|
New Coder Posts: 17 Topics: 1
|
|
|
February 07, 2011, 01:04:15 AM
|
|
Yeah. This is really good information. and Thanks for sharing.
|
|
| |
|
|
|
New Poster Gender:  Posts: 8 Topics: 1
|
|
|
February 10, 2011, 02:50:03 AM
|
|
Thanks for the Post you have very well explained that. So C and C++ is known as compiled language and java is known as Compiled And Interpreted Language,all the magic lies in the ByteCode of Java
« Last Edit: October 22, 2011, 10:48:44 PM by Admin »
|
|
| |
|
|
|
Skilled Coder Posts: 125 Topics: 0
|
|
|
February 13, 2011, 11:54:40 PM
|
|
C and C++ are platform dependency languages hence the application programs written in one Operating system cannot run in any other Operating system, but in platform independence language like Java application programs written in one Operating system can able to run on any Operating system
|
|
| |
|
|
|
New Coder Posts: 15 Topics: 0
|
|
|
March 09, 2011, 11:18:32 AM
|
|
Simple answer is any platform in run any language it's called platform independent. Also, Platform independent means the process in which the ceratin language is capable of running on all types of operating system.
dell coupons codes
|
|
| |
|
|
|
Skilled Coder Real name: Janne
Location: california
Gender: 
Age: 26
Posts: 108 Topics: 1
|
|
|
May 10, 2011, 11:54:04 PM
|
|
platform independent means it will run on all types of operating systems.......it does not req. other softwares to run it.......
|
|
| |
|
|
|
Professional Coder Gender:  Posts: 242 Topics: 3
|
|
|
May 28, 2011, 06:41:59 AM
|
|
oh, this is a nice thread! thanks for the information..
|
|
| |
|
|
|
Skilled Coder Posts: 149 Topics: 0
|
|
|
May 30, 2011, 02:33:22 AM
|
|
platform independent is Software that can run on any hardware platform (PC, Mac, SunSparc, etc.) or software platform (Linux, MacOS, Unix, Windows, etc.).. programs written in Java language can be executed on practically every platform so java is called platform independent........
|
|
| |
|
|
|
Regular Coder Gender: 
Age: 24
Posts: 60 Topics: 10
|
|
|
July 11, 2011, 10:49:22 PM
|
|
Platform independence means if you have been developed one application in window platform then it is also capable to run on linux or macintosh. Means developed on one os and run on anyone. Java is called so because it is the only language where you have to used compiler and interpreter. Because of interpreter java is platform independent language.
|
|
| |
|
|
|
Skilled Coder Posts: 149 Topics: 0
|
|
|
July 12, 2011, 03:37:06 AM
|
|
We can say that java is platform independent because irrespective of the operating system the compiled code of a program executed.
|
|
| |
|
|
|
Regular Coder Posts: 71 Topics: 4
|
|
|
January 15, 2012, 11:45:57 AM
|
|
Platform independent means the execution of the program is not restricted by the type of os environment provided...thereby, make it possible to process the program at any type of environement available.
Java is a platform independent language becoz of the bytecode magic of java. In java, when we execute the source code...it generates the .class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.
Whereas C and C++ are complied languages which makes them platform dependent. The source code written in C / C++ gets transformed into an object code which is machine and OS dependent. That's the reason why C and C++ languages are termed as Platform Dependent.
|
|
| |
|
|
|
New Coder
Location: India
Gender: 
Age: 31
Posts: 16 Topics: 2
|
|
|
January 23, 2012, 10:23:25 PM
|
|
Hello Friends. . . . . . .
Platform independent means the execution of the program is not restricted by the type of os environment provided. . . thereby, make it possible to process the program at any type of environement available.
Java is a platform independent language becoz of the bytecode magic of java. In java, when we execute the source code. . . it generates the . class file comprising the bytecodes. Bytecodes are easily interpreted by JVM which is available with every type of OS we install.
Thanks
|
|
| |
|
|
|
Skilled Coder Posts: 115 Topics: 0
|
|
|
February 02, 2012, 12:52:33 AM
|
Hmm..... that's an interesting information for me. 
|
|
| |