Java Playground

Educational subset interpreter in your browser. Code is not sent to the server.

What works / what does not
One public class with main(String[] args)int, double, boolean, String and assignmentsSystem.out.println / printif/else, while, for, + − × ÷ %, && || !Multiple classes, methods, new, OOPimport, packages, ScannerArrays, collections, genericsFiles, network, threads, full JDK
Examples
Output

This is not a real JVM — use it to practice basics, not production Java.