Free Java Coding Practice for High School: 137 Levels Black FridayCyber Monday 20% off5d 02h 07m 43s

Java Coding Levels

Coding levels for every unit of the course. Students write, run and check real Java programs in CodeGrove, our code lab that works right in the browser.

Java Basics: free Java coding levels

Java Basics

Seven lessons on a first Java program: variables, input, math, decisions, loops and methods. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Strings and Arrays: free Java coding levels

Strings and Arrays

Five lessons on working with text and lists of values in Java, from String methods to arrays and ArrayList. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Classes and Objects: free Java coding levels

Classes and Objects

Six lessons on writing classes of your own: fields, methods, constructors, private data and objects that work together. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Inheritance and Polymorphism: free Java coding levels

Inheritance and Polymorphism

Six lessons on parent and child classes, overriding methods and one call that works many ways. Each level is a short program students write and check in CodeGrove. It ends with a review, a test task and the midterm.

Errors, Files and Testing: free Java coding levels

Errors, Files and Testing

Seven lessons on exceptions, test plans, debugging and programs that read and write files. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Recursion, Algorithms and Threads: free Java coding levels

Recursion, Algorithms and Threads

Seven lessons on recursion, measuring searches and sorts, heuristics and running two things at once with threads. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Events, Devices and AI: free Java coding levels

Events, Devices and AI

Six lessons on event-driven programs, computers inside everyday devices, designing for every user and AI at work. Each level is a short program students write and check in CodeGrove. It ends with a review and a test task.

Team Software Project: free Java coding levels

Team Software Project

Six lessons on building one program as a team, from requirements and class diagrams to code reviews and a release. Each level is a short program students write and check in CodeGrove. It ends with the final review and the final task.

Questions teachers ask

Are these Java coding levels free?

Yes. Every level is free to use, with no trial and nothing to buy. They are companions to our course, and you can use them without owning it.

Do students need an account or a login?

No. A student opens the link and the level starts. There is nothing to install: the code runs in the web browser.

Do the levels work on Chromebooks and phones?

Chromebooks, yes; phones, no. CodeGrove runs in a web browser on Chromebooks, laptops, desktops and larger tablets. Students type code, so it needs more room than a phone gives and says so when it is opened on one.

Is any student data collected?

CodeGrove never asks for a name, an email or an account. A student's code runs inside their own browser and is never sent to us, and their work is saved on that device only. The page itself counts anonymous visits with Google Analytics, the same as the rest of this site.

How does a level check a student's program?

Each level gives a task and a starting program. Run shows what the program prints. Check tests it with the task's example and some hidden tests, then says what passed and what to fix. Check is practice feedback, not a grade.

Does Java need to be installed?

No. CodeGrove runs Java right in the browser. The first run takes a few seconds while Java loads, and after that programs start quickly.

What grade level are the levels for?

Grades 9 to 12, for students who have written programs before, in Python or another language. The levels start at a first Java program, and each one was built for one lesson of this course.

Do I need the course to use a level?

No. Every level explains its task, so it can stand alone. It lands best right after the lesson it was built for, which is why each level is tied to a specific lesson of the course.