Grade 8 · Java
Every program is built from the same few blocks.
Go through the 13 programs from class one at a time. In each one, look for the new blocks and the ones you have seen before. When you're ready, try the quiz.
Part 1
The programs, explained
Choose a program. Tap any building block to light up where it is in the code.
Code colours:
class Java keywords
Scanner class names
println methods
"text" text (Strings)
10 numbers
// note comments
Building-block map See which blocks repeat in every program
★ first time we use it ● used again
Part 2
Java quiz
Pick a level and how many questions you want. You'll see an explanation after every answer.