Java: Classes, Collections & JVM – quiz with 15 questions

Bytecode and JVM, LTS versions, equals instead of ==, primitive types and wrappers, visibility, records, collections, exceptions, try-with-resources, and streams.

Questions
15
Level
Beginner
Area
Programming & data · Programming languages

Modules

Sample question

Was erzeugt der Java-Compiler javac aus einer .java-Datei?

  • Direkt eine ausführbare .exe-Datei für Windows
  • Bytecode in einer .class-Datei für die JVM
  • JavaScript, das anschliessend im Browser läuft
  • Eine SQL-Datenbank mit den kompilierten Klassen

Correct: Bytecode in einer .class-Datei für die JVM. Die Java Virtual Machine führt den Bytecode auf jedem System aus und übersetzt häufig genutzten Code per JIT-Compiler in Maschinencode.

More questions from the quiz

  • Warum liefert "Zürich" == stadt in Java manchmal false, obwohl der Text gleich ist?
  • Welcher Unterschied besteht zwischen int und Integer in Java?
  • Was ist eine LTS-Version von Java wie Java 21 oder Java 25?
  • Was erledigt der Garbage Collector der JVM?
  • Was bedeutet das Schlüsselwort static bei einer Methode?

The questions and explanations are in German – checked by experts, not machine-translated.

After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.

As of 15.11.2026 · All quizzes

Quizbot – a project by AI SYSTEM, St. Gallen · Home