This website completely moved to new platform. For latest content, visit www.programmingposts.com

Search this Site

29 Sept 2012

PLATFORM INDEPENDENCY

If The application is developed on a machine and can be executed on any other machines irrespective of platform  then it is called Platform Independent.
-> The Applications developed using JAVA and .NET are platform independent.
->The source code of this languages when compiled, get converted into intermediate code (semi-finished), which can be executed on any other machine using a special software which converts the intermediate code into the machine code according to the operating system of the machine.
The intermediate code generated after compiling the source code is called BYTE CODE in JAVA and MSIL CODE in .NET.

3 comments:

  1. [...] Java calls it as ―byte code and .NET      calls it as ―MSIL code.->  Both are platform independent. -> Both support ―Garbage collection‖, which automatically clears the un-used     [...]

    ReplyDelete
  2. [...] language. Java calls it as ―byte code and .NET calls it as ―MSIL code. ->  Both are platform independent. -> Both support ―Garbage collection‖, which automatically clears the un-used memory. -> [...]

    ReplyDelete
  3. [...] byte code which is being interpreted by JVM.  Byte Code is introduced in Java to provide java as a platform independent language [...]

    ReplyDelete

Thanks for your comments.
-Sameer