Skip Top Navigation Bar

The Destination for Beginners, Students, and Teachers of Java

Try out Modern Java Now

The Java Playground allows you to run snippets of program code to see the results. The way the Java Playground works, no class or main method is required. Just hit run below!

Recently Updated

Been here before? Looking for something new to learn? Try these!

Topic 2.7 Repetition with while Loops

Learn how to repeat code using while loops.

Reading Club

Determine the reader's badge level based on logging reading time towards a goal.

Topics 2.4 to 2.6 Nested if Statements, Compound Boolean Operators, and Comparing Boolean Expressions

Learn the power of nested if statements and compound logic operators.

Learning Java Has Never Been Easier

Videos to get you started

Week 8 | Boolean Expressions & if Statements | AP CSA in 30 Weeks(2026) | Topics 2.2 and 2.3

In this week’s lecture, we cover AP CSA Topic 2.2 and 2.3 on Boolean expressions and writing if statements.

Week 9 | Nested if Statements | AP CSA in 30 Weeks(2026) | Topics 2.4 to 2.6

In this week’s lecture, we cover AP CSA Topic 2.4 to 2.6 on nested if statements, compound operators, and comparing boolean expressions.

Episode 3 | Making Abstract Concepts Concrete | Class Constructors

We're exploring class constructors using marshmallows, M&Ms, and pretzels to create our very own MarshmallowMan objects!

Hands-on Algorithms | Episode 4 of Making the Abstract Concrete

We look beyond the peanut butter and jelly algorithm to other hands-on ways students can learn to write out and test algorithms in real-life.