🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
1. 创建公共类 ![](https://box.kancloud.cn/ac61a1e0c4d9961442683f1a2d979079_613x637.png) 修改: * public 选项: * public static void main(String[] args) * Generate comments 2. 查看目录 ![](https://box.kancloud.cn/93239a05e373978a8dabab8267f439e1_1920x1040.png) 3. 编写程序 ~~~ /** * */ package helloword_01; /** * @author Administrator * */ public class Add { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int i = 5; int j = 10; System.out.println(i+j); } } ~~~ 4. 运行程序 ![](https://box.kancloud.cn/7b3f973987130bcdce5c52c28c66c165_1916x1040.png)