Question Bank

3705 approved questions from the community

In Java, the type of a variable can change during runtime.

EASY
TRUE FALSE
20s
Java
by Mohamed

What is the purpose of exception handling in Java?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

What is the difference between the classpath and the path environment variable?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

What is the purpose of auto-boxing in Java?

EASY
SINGLE CHOICE
30s
Java
by Mohamed

What is unboxing in Java?

EASY
SINGLE CHOICE
25s
Java
by Mohamed

Why can't primitive types be used with Java generics?

MEDIUM
SINGLE CHOICE
35s
Java
by Mohamed

Java supports multiple inheritance of classes.

EASY
TRUE FALSE
20s
Java
by Mohamed

Which of the following are valid access modifiers in Java?

MEDIUM
MULTIPLE CHOICE
35s
Java
by Mohamed

Which of the following are characteristics of the G1 (Garbage First) collector?

HARD
MULTIPLE CHOICE
45s
Java
by Mohamed

Which of the following are advantages of Java's automatic memory management?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following are examples of Java's rich standard library features?

EASY
MULTIPLE CHOICE
35s
Java
by Mohamed

Which of the following are key functions of the JVM?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following demonstrate that Java is not a pure object-oriented language?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following are advantages of static typing in Java?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following can be included in the Java classpath?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which development tools are included in the JDK but not in the JRE?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following are components of the JRE (Java Runtime Environment)?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

What are the advantages of Java bytecode?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

Which of the following are types of ClassLoaders in Java?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed

What are the benefits of using the 'final' keyword in Java?

MEDIUM
MULTIPLE CHOICE
40s
Java
by Mohamed
PreviousPage 141 of 186Next