Thursday, February 4, 2010

JAVA-PLATFORM INDEPENDENT PORTABLE LANGUAGE

Java is a platform independent portable language.Languages such as C and C++ etc will produce an executable file for every program you create.The executable file will work on particular platform only.As java applets are used in network it should run on every platforms.To implement this need java will create a file called class file.The class file is well optimized bytecode of your program.The class file is independent of the platform and therefore it will run on every platform.Only the java compiler is platform dependent but not the class file.We should consider platform only for the creation of compiler.

No comments:

Post a Comment