2019年8月18日

第七天带返回的方法定义与调用

摘要: public class ReturnMethod01 { public static void main(String[] args) { //常规调用 int a = getMax(5,6); System.out.println(a); //输出调用 System.out.println(ge 阅读全文

posted @ 2019-08-18 10:41 倔强的小奶狗 阅读(92) 评论(1) 推荐(0)

第六天 方法的定义与调用

摘要: public class isEvenNumber01 { public static void main(String[] args) { //常量的调用 isEvenNumber(5); //变量的调用 int number = 5; isEvenNumber(number); } public 阅读全文

posted @ 2019-08-18 09:40 倔强的小奶狗 阅读(93) 评论(0) 推荐(0)

导航