Kestrel Exams kestrel logo KESTREL EXAMSPRACTICE TO PASS
Home › Practice tests › Java
Academic & Test Prep

Java practice, topic by topic

The second course in the introductory sequence, taught in Java. Practice the vocabulary and mechanics that everything later in the course is built on.

32 topics Topic-selectable practice Every choice explained Free, no account Open the app

What this Java practice is for

A second-semester computer science course moves from "can you write a program that works" to "can you design one that someone else can read, extend, and trust." In Java, that means understanding how a program is structured, how it becomes something the machine can run, and what each piece of syntax is actually doing.

Most students who struggle here are not confused about logic. They are confused about vocabulary and mechanics: what static is doing on main, why a change to a source file appears to have no effect, why 7 / 2 gives 3. Those questions have crisp answers, and knowing them makes the harder material later feel like a natural extension.

Who this practice is for

Topics the practice app covers

Each topic can be selected independently, so you can drill the exact thing that is slowing you down instead of rehearsing what you already know.

Core Terminology43 items
Software Engineering Life Cycle16 items
Compiling & Running Java23 items
Anatomy of a Java Program24 items
Java Language Elements39 items
Primitive Data Types28 items
Console Output27 items
Console Input & Scanner18 items
Operators & Increment30 items
Casting, Promotion & Division14 items
The Math Class & Rounding12 items
Conditionals14 items
Loops & Input Validation12 items
Boolean Logic & Short-Circuiting16 items
switch Statements14 items
for, do-while & Nested Loops20 items
Method Basics12 items
Parameters & Arguments16 items
Method Overloading16 items
Static Members14 items
Scope, Stack & Heap16 items
Anatomy of a Class18 items
Constructors19 items
Accessors & Mutators19 items
Access & Encapsulation11 items
this & References22 items
Conventions & Javadoc14 items
Testing, assert & Debugging14 items
Wrapper Classes12 items
String Methods21 items
Comparing Strings14 items
StringBuilder & StringBuffer12 items

Item counts show how the bank is distributed; a balanced session draws from each topic in these proportions. They are not course-grade weights. New topics are added as the bank grows — 32 topics across 7 live course sections.

How the practice app works

  1. Choose your topics. Drill a single weak area, or mix everything for a balanced session. There is no fixed midterm or final edition — you decide the scope every time.
  2. Answer, then read the rationale. Every option has its own explanation, so a wrong answer tells you which misconception you were holding, not just that you missed it.
  3. Repeat the misses. Short, frequent sessions beat one long cram — that is the whole reason the app is built for five-minute use.
  4. Work offline. Once opened, the app runs without a connection and keeps your progress on your own device.
Growing bank

The bank is organized into sections. Seven are live now: Vocabulary, Intro to Java, Control Flow, Methods, Objects & Classes, Testing, Debugging & Wrappers, and Strings. Arrays and ArrayLists, inheritance and polymorphism, exception handling, recursion, file I/O and data structures are queued, and each becomes selectable as it is written.

Frequently asked questions

Is the Java practice app free?

Yes. It is free, requires no account, and works offline once opened. Your progress stays on your device.

Do I need to know Java already?

No. The practice begins with what a Java program is and how it is compiled and run, so it works whether Java is new to you or you are reviewing it.

Is this tied to one school, instructor, or section?

No. The material is written for a general second-semester computer science audience and focuses on transferable Java fundamentals.

Are these real exam questions?

No. Every question is original study material written by Kestrel Exams. Nothing here is taken from any course examination, textbook, or instructor's materials.

Kestrel Exams Java material is independent study practice. Questions and explanations are original and AI-generated, reviewed for accuracy against the Java language specification.

Open the Java app