What are bytecodes?
Ans : Java bytecodes are a language of machine instructions understood by the Java Virtual Machine and usually generated (compiled) from Java language source code. Java bytecodes encode instructions for the Java Virtual Machine. These instructions specify both operations and operands, always in the following format: • opcode (1 byte): specifies what operation to perform • operands (0-n bytes): specify data for the operation The 1-byte opcode is simply a number that the Java Virtual Machine interprets as a specific instruction. For instance, opcode value 104 (0x68 in hexadecimal representation) is the instruction to multiply two int valuesit instructs the virtual machine to take the top two values off the Java operand stack, multiply them, and push the product back on the stack. In addition to its numerical value, each opcode has a conventional short name, called its mnemonic. The mnemonic for opcode 104 is imul. Following each opcode come any operands the opcode may require. The Java V