This playground provides a personalised sandboxed environment for you to learn and explore Java.
What are playgrounds?
Playgrounds give you a configured environment to start playing and exploring using an unstructured learning approach.
Playgrounds are great for experimenting and trying samples. To learn more about the technology then start with one of our labs
Thank you for trying the playground. More courses and scenarios are available at on our homepage

Steps
Java Language Playground
Hello World
Copy the following code into the editor.
public class App { public static void main(String[] args) { // Prints "Hello, World" to the terminal window. System.out.println("Hello, World"); } }
Step 1) Compile using javac App.java
Step 2) Execute using java App
Interested in writing your own Java scenarios and demos? Visit www.katacoda.com/teach
You’ll love Katacoda

Guided Path
Knowing what you need to know is the hardest part. Our guided pathways help build your knowledge around real-world scenarios.

Learn By Doing
The best way to learn is by doing. All our tutorials are interactive with pre-configured live environments ready for you to use.

Stay up-to-date
It's a competitive industry. Your skills need to keep up with the latest approaches. Katacoda keeps your skills up-to-date.
You’ll love Katacoda

Guided Path
Knowing what you need to know is the hardest part. Our guided pathways help build your knowledge around real-world scenarios.

Learn By Doing
The best way to learn is by doing. All our tutorials are interactive with pre-configured live environments ready for you to use.

Stay up-to-date
It's a competitive industry. Your skills need to keep up with the latest approaches. Katacoda keeps your skills up-to-date.