Java Questions & Answers – JDK-JRE-JIT-JVM Posted on June 10, 2020June 10, 2020 by admin 7 Created on June 10, 2020 By admin Java Questions & Answers – JDK-JRE-JIT-JVM 1 / 10 1. Which component is used to compile, debug and execute java program? A. JVM B. JDK C. JIT D. JRE 2 / 10 2. Which component is responsible for converting bytecode into machine specific code? A. JVM B. JDK C. JIT D. JRE 3 / 10 3. Which component is responsible to run java program? A. JVM B. JDK C. JIT D. JRE 4 / 10 4. Which component is responsible to optimize bytecode to machine code? A. JVM B. JDK C. JIT D. JRE 5 / 10 5. Which statement is true about java? A. Platform independent programming language B. Platform dependent programming language C. Code dependent programming language D. Sequence dependent programming language 6 / 10 6. Which of the below is invalid identifier with the main method? A. public B. static C. private D. final 7 / 10 7. What is the extension of java code files? A. .class B. .java C. .txt D. .js 8 / 10 8. What is the extension of compiled java classes? A. .class B. .java C. .txt D. .js 9 / 10 9. How can we identify whether a compilation unit is class or interface from a class file? A. Java source file header B. Extension of compilation unit C. We cannot differentiate between class and interface D. The class or interface name should be postfixed with unit type 10 / 10 10. What is use of interpreter? A. They convert bytecode to machine language code B. They read high level code and execute them C. They are intermediated between JIT and JVM D. It is a synonym for JIT Your score is The average score is 19% LinkedIn Facebook Twitter 0% Restart quiz