Java - MCQ

Multiple Choice Questions


Share with a Friend

 

Java MCQ - Introduction to Java - Set 10

46. Which component is responsible to run java program?
A). JVM
B). JDK
C). JIT
D). JRE
View Answer
Correct: D



47. Which component is responsible to optimize bytecode to machine code?
A). JVM
B). JDK
C). JIT
D). JRE
View Answer
Correct: C



48. Which statement is true about java?
A). Platform independent programming language
B). Sequence dependent programming language
C). Platform dependent programming language
D). Code dependent programming language
View Answer
Correct: A



49. Which of the below is invalid identifier with the main method?
A). static
B). public
C). private
D). final
View Answer
Correct: C



50. What is the extension of java code files?
A). .class
B). .java
C). .txt
D). .js
View Answer
Correct: B



 
 
 
   
   
   
UltraInfo Technologies
ITDeveloper