Practice Set
Practice questions aggregated across this exam type.
Practice Questions
10 of 177 questions
Q1. What does JVM stand for?
Select one answer before revealing.
Q2. Which JDK component compiles Java source code (.java) into bytecode (.class)?
Select one answer before revealing.
Q3. What is the default value of an instance variable of type int in Java?
Select one answer before revealing.
Q4. What is the size of the char data type in Java?
Select one answer before revealing.
Q5. Which of the following is NOT a primitive data type in Java?
Select one answer before revealing.
Q6. What is the result of: int x = 7 / 2; in Java?
Select one answer before revealing.
Q7. Which keyword is used to create a new object in Java?
Select one answer before revealing.
Q8. In Java, a constructor must:
Select one answer before revealing.
Q9. Which access modifier makes a member accessible only within the declaring class?
Select one answer before revealing.
Q10. Defining multiple methods with the same name but different parameter lists in the same class is called:
Select one answer before revealing.
Important Concepts
Study chapter-wise concepts before you practice.