#10 What is Compilation and Execution Process in Java Language | Logic Behind Java Code
package com.sudhirtheindian2.java123;
public class compilation_and_executatio_process {
public static void main(String[] args) {
// What is compilation_and_execution_process in java
// 1 FirstProgram.java ----source code
// 2 javac ----------java compiler
// (when we submit source code to java compiler
// then java compiler(javac) compile the source code
// and make byte code)
// 3 FirstProgram.class ------- byte code
// the length of .class is 8 bits = 1 bytes
// so we call byte code
// we can not understand byte code
// byte code provide security
// 4 JVM(java virtual machine)
// for interprate the bytecode
// we send jvm
// jvm interprate the bytecode
// jvm can understand byte code
// 5 output
// after interprating jvm provides output of code
}
}
टिप्पणियाँ
एक टिप्पणी भेजें