Java (Coding) Quiz
Java fundamentals: the JVM, OOP concepts, and the ecosystem around one of the most-deployed languages.
This category currently has 80 questions in the SERVBG quiz bank. Below are a few sample questions: the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
Which keyword (Java 10+) declares a local variable with type inference?
- let
- var
- def
- const
- auto
Which Java version introduced records as a final, non-preview language feature?
- Java 11
- Java 8
- Java 16 (preview in 14)
- Java 21 only
- Java 7
Which Java LTS introduced sealed classes (final)?
- Java 8
- Java 21
- Java 11
- Java 17
- Java 14
Which Java LTS introduced virtual threads (final)?
- Java 21
- Java 22
- Java 17
- Java 11
- Java 8
Which keyword exits a method returning a value?
- return
- yield
- finish
- break
- exit
Related categories
Python (Coding)
Python syntax and standard-library usage, from quick scripts to full applications.
JavaScript (Coding)
Core JavaScript behavior and async patterns, including the quirks that trip up beginners and veterans alike.
Linux
Linux command-line usage, file permissions, process management. The daily admin tasks.
Security
General information security concepts: common threats and standard defenses.
Hardware
Hardware components, how they interact, and basic troubleshooting to keep systems running.