All quizzes
5 questions · BEGINNER

Java Basics

Test your grasp of Java fundamentals: types, operators and OOP.

Progress 0 / 5 answered

1 What is the result of 7 / 2 in Java (both int)?

2 Which keyword makes a variable a constant in Java?

3 Which of these is NOT a Java primitive type?

4 What does the '==' operator compare for objects?

5 Which collection stores unique elements with no duplicates?