Saturday, 15 June 2013

What are Byte Code in Java?



Java has a compiler named “javac”, that read the sourcecode from the text file having file extension .java and translated into byte code . This bytecode is stored n class files i.e. with .class file extention. If the compiler detects any rule violation; it will display one or more error messages and stop the compilation proces. The compilation of java source file into intermediate byte code provides plateform independence.

No comments:

Post a Comment