随笔分类 - Java方法
摘要:1 package com.pingfan.method; 2 3 public class Demo3 { 4 public static void main(String[] args) { 5 System.out.println(f(5)); 6 } 7 public static int
阅读全文
摘要:1 package com.pingfan.method; 2 3 public class Demo2 { 4 public static void main(String[] args) { 5 int max = max(10,20); 6 System.out.println(max); 7
阅读全文
摘要:1 package com.pingfan.method; 2 3 public class Demo1 { 4 //main方法 5 public static void main(String[] args) { 6 //int sum = add(1,2); 7 // System.out.p
阅读全文

浙公网安备 33010602011771号