摘要: Java方法 注意事项: 方法命名规则: 驼峰命名 public static int add(int a, int b){ //static 表明方法是类的方法 return a+b } return return要放在方法最外边 public static int max(int a, int 阅读全文
posted @ 2021-09-12 16:24 Alingo2 阅读(31) 评论(0) 推荐(0)