C Programming Multiple Choice Questions (MCQ) | IT Developer <?php echo $page_title; ?>
IT Developer

Java Programming Multiple Choice Questions (MCQ)

Introduction to Java - Multiple Choice Questions (MCQ) - Set 7



Share with a Friend

Multiple Choice Questions


Java - Introduction to Java - Multiple Choice Questions (MCQ) - Set 7

31. JDK stands for:
A). Java Deployment Kit
B). Java Development Kit
C). Java Design Kit
D). Java Debug Kit
View Answer
Correct: B

 


Explanation
JDK (Java Development Kit) : JDK includes tools like compiler, debugger, and JRE for developing Java applications.

 


32. Which of the following includes JVM?
A). JDK
B). JRE
C). Both A and B
D). None
View Answer
Correct: C

 



Explanation
JDK & JRE include JVM :
JVM is a core part of both JRE and JDK

 

 

33. Which is NOT a feature of Java?
A). Platform independent
B). Secure
C). Pointer-based
D). Robust
View Answer
Correct: C

 


Explanation
Pointer-based (Incorrect Feature): Java avoids pointers to improve security and simplicity.

 


34. Java is platform-independent because:
A). It uses OS-specific code
B). It compiles to bytecode
C). It uses assembly language
D). It avoids compilation
View Answer
Correct: B

 

 

Explanation
Platform Independence : Java achieves platform independence through bytecode executed by JVM.

 

 

35. Which method is the entry point of a Java program?
A). start()
B). main()
C). run()
D). init()
View Answer
Correct: B

 


Explanation
main() Method : Execution of Java program starts from the main() method