Java (Coding) Quiz
Java language fundamentals: the JVM, OOP concepts, and the ecosystem behind 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
- auto
- const
Which Java LTS introduced records?
- Java 11
- Java 21 only
- Java 8
- Java 16 (preview in 14)
- Java 7
Which Java LTS introduced sealed classes (final)?
- Java 11
- Java 8
- Java 14
- Java 21
- Java 17
Which Java LTS introduced virtual threads (final)?
- Java 8
- Java 21
- Java 17
- Java 11
- Java 22
Which keyword exits a method returning a value?
- finish
- return
- exit
- break
- yield
Related categories
Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
JavaScript (Coding)
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
Security
General information security concepts: threats, defenses, and the fundamentals every IT professional should know.
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.