源代码 · Main.java
使用 public class Main,不要声明 package。Ctrl / ⌘ + Enter 运行,Ctrl / ⌘ + S 下载。
代码和输入自动保存在当前浏览器
输出结果
点击"编译运行"查看结果...