Skip to content
AITroveRead. Build. Understand.

Exercises

Java exercises test a stated behavior with accepted inputs, rejected inputs and checks that fail when the behavior is violated.

Java exercises test a stated behavior with accepted inputs, rejected inputs and checks that fail when the behavior is violated.

Learning roadmap

Solve small tasks, then compare against an example answer. Open a topic below, try its example, then check the result.

What comes next

Use the subject bar to move between the tutorial, advanced topics and practice resources. Each section has its own module list. This section links 10 written lessons and self-checks. The coverage map records the remaining scope; this curriculum is not an exhaustive Java reference.

Working through this section

The curriculum below groups the canonical pages for this section. Open a lesson to see its release label, operation contract and connected topics. Examples can also be linked from another section without creating a second copy of the same page.

Compile the stated program with a compatible JDK and compare its result with the displayed output. Read the rejected-input and ownership clauses before changing the input. Local self-checks and downloaded programs do not imply a server-side code judge or a production service.

Curriculum

Solve small tasks, then compare against an example answer.

  1. 1Sum an integer array

Work through endpoint behavior, traversal, and failure cases.

  1. 1Java LinkedList exercises with checked solutions

Solve counting and deduplication with explicit ordering.

  1. 1Java collection exercises: counters, duplicates, and stable output

Check adjacent duplicates and an explicit text-normalization policy.

  1. 1Java array and text exercises: stable filtering and boundary tests

Storage details