Thursday 25 February 2016

The Java Virtual Machine

@Unlike C and C++ the most liked compiled languages or interpreted languages like php and python, java is both compiled and interpreted. Java Source code is compiled into an optimized intermediate form called bytecode. this is what gives java it's portability advantage;bytecode is interpreted by the java virtual machine(jvm).if you compile your java source code on one machine, you can run it on any other machine(with any other operating system) as long as it has the java virtual machine installed.most of your java source code will be compiled to a jar file(filename.jar) which is just a specialised zip. then you can run this jar file from any machine with a jvm installed.

0 comments:

Post a Comment