摘要:
1 public class MethodParameter01{ 2 public static void main(String[] args){ 3 4 int a = 15; 5 int b = 10; 6 //创建对象AA对象 名字obj 7 8 AA obj = new AA(); 9 阅读全文
摘要:
1 public class MethodExercise01{ 2 public static void main(String[] args){ 3 4 AA a = new AA(); 5 if(a.isOdd(2)){//T,这样的写法以后会看到很多 6 System.out.println 阅读全文
摘要:
1 public class shuzu03{ 2 public static void main(String[] args){ 3 4 5 AA a = new AA(); 6 int[] res = a.getSumAndSub(1,4); 7 System.out.println("和=" 阅读全文