Exam Type

Practice Set

Practice questions aggregated across this exam type.

Practice Questions

10 of 177 questions

Jump to concepts →

easy

Q1. What does JVM stand for?


Select one answer before revealing.

easy

Q2. Which JDK component compiles Java source code (.java) into bytecode (.class)?


Select one answer before revealing.

easy

Q3. What is the default value of an instance variable of type int in Java?


Select one answer before revealing.

easy

Q4. What is the size of the char data type in Java?


Select one answer before revealing.

easy

Q5. Which of the following is NOT a primitive data type in Java?


Select one answer before revealing.

medium

Q6. What is the result of: int x = 7 / 2; in Java?


Select one answer before revealing.

easy

Q7. Which keyword is used to create a new object in Java?


Select one answer before revealing.

easy

Q8. In Java, a constructor must:


Select one answer before revealing.

medium

Q9. Which access modifier makes a member accessible only within the declaring class?


Select one answer before revealing.

medium

Q10. Defining multiple methods with the same name but different parameter lists in the same class is called:


Select one answer before revealing.

1/18

Important Concepts

Study chapter-wise concepts before you practice.

View all