2021-04-13 ﹏ヽ暗。殇╰゛Y 2022-11-19 01:07 12阅读 0赞 ``public class mymy { public static void main(String[] args) { mymy.sumInt(10, 20); mymy.sumInt(666, 888); mymy.sumInt(111, 222); } public static void sumInt(int a, int b) { int c = a + b; System.out.println(a + "+" + b + "=" + c); } 在这里插入代码片 C:\\Program Files\\Java\\jdk-15.0.2\\bin\\java.exe" “-javaagent:C:\\Program Files\\JetBrains\\IntelliJ IDEA 2020.1.3\\lib\\idea\_rt.jar=49356:C:\\Program Files\\JetBrains\\IntelliJ IDEA 2020.1.3\\bin” -Dfile.encoding=UTF-8 -classpath C:\\Users\\橙子\\IdeaProjects\\untitled9\\out\\production\\untitled9 mymy 10+20=30 666+888=1554 111+222=333 Process finished with exit code 0 方法
还没有评论,来说两句吧...