Computer Science
Answer
Java Virtual Machine takes Bytecode as input and converts it into Machine Code one line at a time. This Bytecode can be generated by compiling source code written in any JVM language like Scala, Kotlin, etc not just Java. Hence, Java interpreter is called Java Virtual Machine.
Related Questions
What do you understand by Java reserved words? Name at least five Java reserved words which are commonly used in Java programming.
Write down all the steps to compile and execute a Java program.
A Java program uses Compiler as well as Interpreter. Explain.
Distinguish between System.out.print() and System.out.println() with an example.