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.

Comments

Popular posts from this blog

Write a program to add two number using inline function in C++?

Traversing of elements program with algorithm and Flowchart