Editor
Tip: Your public class should be named Main, with a main(String[] args) method.
Input and Output
Resolving Java runtime…
Type Java code (public class Main) and run it in a sandboxed environment. Great for quick experiments and learning.