北小柒

导航

 

2021年10月17日

摘要: public class Demo07 { public static void main (String [] args){ //int sum = add(2,5); //实际参数 //System.out.println(sum); test (); } public static int a 阅读全文
posted @ 2021-10-17 17:06 北小柒 阅读(19) 评论(0) 推荐(0)
 
摘要: public class Demo06 { public static void main (String []args){ //打印三角形作业 for (int i = 1;i <= 5;i++) { for (int j = 5; j >= i;j--){ System.out.print(" 阅读全文
posted @ 2021-10-17 16:41 北小柒 阅读(26) 评论(0) 推荐(0)
 
摘要: public class Demo01{ public static void main(String[] args){ int max = max(10,10); System.out.println(max); } public static int max(int num1,int num2) 阅读全文
posted @ 2021-10-17 16:32 北小柒 阅读(20) 评论(0) 推荐(0)