Q3. How is ordinary compilation process different from Java compilation?
Ans. The ordinary compilation, the source code is converted to a machine code, which is dependent upon the machine or the platform. This resultant machine code is called native executable code.
Contrary to ordinary compilers, the Java compiler does not produce native executable code for a particular machine. Instead it produces a special format called byte code. The Java byte code looks a lot like machine language, but unlike machine language Java byte code is exactly the same on every platform.