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!

Educator Briefings

An educator briefing on new features from Java 8 - 25 that should be consider in Intro to CS.

Declaring Variables Practice

Practice declaring variables based on descriptions

Adopt-A-Pet

Apply what you've learned about variables, expressions, and assignments to create a virtual pet

Learning Java Has Never Been Easier

Videos to get you started

Java Primitive Data Types Explained (int, double, boolean, and char)

This video introduces primitive data types—the built-in types used to store simple values like numbers, characters, and true/false.

Intro to Reference Data Types: The Next Big Step

Take the next step beyond primitives by learning about reference data in Java.

Java Variable Names: Rules, Conventions, and Best Practices

This video covers the official rules Java enforces (what characters you can use, where names can start, and which words are reserved) plus common naming conventions like camelCase.

Java Arithmetic Operators: +, -, *, /, and % Explained

Discover how to use operators such as addition (+), subtraction (-), multiplication (*), division (/), and remainder(%) to work with numeric values.