25 questions · 40 minutes · Java
Core Java - Practice Quiz 2 practice quiz
More Core Java basics: simple expressions, variable rules, printing, if/else-if, comparisons — 25 questions.
Before you start
25 multiple choice questions. 1 mark each. No negative marking. Time: 40 minutes.
You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.
- Questions
- 25
- Time
- 40 minutes
- Marks
- 25
- Subject
- Java
- Marking
- Server-side
What it asks
The first few questions
- Which of these is a valid declaration of multiple variables of type int?
- What is printed by: System.out.println( "5" + 3 ); ?
- Which of these boolean expressions is true when x is 10?
- Where is the entry point of a standard Java application?
21 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.