Ask Question
23 July, 00:17

In most modern implementations of the JVM, bytecode is Select one: a. input to the Java compiler b. ready to be executed by a Windows system c. output from the Java interpreter d. input to the JIT (just-in-time) compiler

+2
Answers (1)
  1. 23 July, 00:42
    0
    Option d is the correct answer to the above question.

    Explanation:

    Java is a programming language that gives the features to write the program in one platform and execute it on multiple platforms. The machine code is not given features like this. So for this, the java derived a class file which is then converted file of the java program which is also called the byte code. This code can be transferred on multiple machines and then excite after get converted into machine code. So to convert the byte code into machine code the java needs a JIT compiler which takes inputs as byte code and gives the output as machine code.

    The above question asks that which take input as byte code then the answer is JIT which is defined as above and it is stated from option d. hence option d is the correct answer. while the other is not because--

    Option 'a' states about the java compiler which gives the output as byte code. Option b states about the window system which is not the correct option. Option c states that it is the output of the interpreter but the interpreter gives the output as machine code in java language.
Know the Answer?