摘要: 格式: public(修饰符) static void(方法的返回值,如int,void表示为空) + 方法名字(如add,main) + (){ } 修饰符 返回值类型 方法名 (....){ 方法体 return 返回值;} 如: public static void main(String[] 阅读全文
posted @ 2022-08-08 15:48 快乐(^-^) 阅读(25) 评论(0) 推荐(0)