摘要:
JAVA方法 方法的定义 1.用来完成特定功能的代码片段 修饰符 返回值类型 方法名(参数类型 参数名){ 方法体 return 返回值; } public static int add(int aa,int bb){ return aa+bb; } 方法重载规则 方法名必须相同 参数必须不同(个数 阅读全文
posted @ 2022-08-03 10:33
小新新Blog
阅读(132)
评论(0)
推荐(0)
浙公网安备 33010602011771号