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!

Create and assign simple strings of characters - Example 2

Learn what happens when you assign one String variable to another, and then reassign the first one.

Create and assign simple strings of characters - Example 3

Learn what happens when you assign one String variable to another, and then reassign the first one.

Create and assign simple strings of characters - Example 4

Learn what happens when you assign one String variable to another, and then reassign the first one.

Learning Java Has Never Been Easier

Videos to get you started

Dukes First Program: AP CSA Unit 1 Review with Duchess

In this AP Computer Science A Unit 1 review, Duchess helps Duke learn the fundamentals of Java programming!

Duke Learns If Statements & Loops! AP CSA Unit 2 with Duchess

In this AP Computer Science A Unit 2 review, Duchess re-writes the grading program incorporating selection and iteration!

Duke Learns Classes and Objects | AP CSA Unit 3 with Duchess

In this AP Computer Science A Unit 3 review, Duke and Duchess use classes to rewrite their grade computing program!

March Teacher Spotlight

In this Unit 4 review, Duchess teams up with Duke to include ArrayLists in the grades program to make it more useful for the teacher.