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 10



Share with a Friend

Multiple Choice Questions


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

46. Which is a valid Java class name?
A). 123Class
B). class
C). MyClass
D). @Class
View Answer
Correct: C




47. Java is known for:
A). Manual memory management
B). Automatic garbage collection
C). No memory usage
D). Direct memory access
View Answer
Correct: B




48. Which of the following is a Java feature?
A). Use of pointers
B). Platform dependency
C). Security
D). No compilation
View Answer
Correct: C




49. Which keyword is used to create an object?
A). create
B). new
C). object
D). make
View Answer
Correct: B




50. Java bytecode is:
A). Platform dependent
B). Platform independent
C). OS dependent
D). Hardware dependent
View Answer
Correct: B