Java - What happens in the background
I always use to ponder how is it possible that we can convert the logic we think into some lines of code, which the hardware understands and uses... Java Every program that we write is converted into a .class file, machine code of what we have written. This process is called Compiling the java programm and 'Javac ' is the command used for this purpose. This convertion is for the JVM (Java virtual machine) to understand. JVM is a virtual environment created by Java to execute its programms. JVM takes care of the start/end of the program and all the resources required for the progrram to execute. This process is called the execution of java proggram. For this purpose 'Java' is the command used.