Answers for "java bytecode"

6

what is bytecode in java

When a javac compiler compiler compiles a class it generates .class file. 
This .class file contains set of
instructions called byte code. Byte code is a machine independent language 
and contains set of
instructions which are to be executed only by JVM. JVM can understand 
this byte codes.
Posted by: Guest on November-30-2020
0

run java bytecode

// Don't usee .class at the end of class file name
java ClassFileName //--in file path-- if file doesn't have package
java PackageName.ClassFileName //--in package path-- if file have package
Posted by: Guest on May-15-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language