2016年5月13日

两个递增数据组合成一个递增数据(不适用)

摘要: public class ListArrayApp { public static void main(String[] args) { int[] a = { 1, 3, 5 };int[] b = { 2, 6 };int l = a.length + b.length;int[] c = ne 阅读全文

posted @ 2016-05-13 11:48 vbvb520 阅读(214) 评论(0) 推荐(0) 编辑

java回调机制

摘要: //超级计算器小红1 public class SuperCalculator 2 { 3 public void add(int a, int b, Student xiaoming) 4 { 5 int result = a + b; 6 xiaoming.fillBlank(a, b, res 阅读全文

posted @ 2016-05-13 09:56 vbvb520 阅读(164) 评论(0) 推荐(0) 编辑

java中的继承问题

摘要: // 定义一个Earth类 public class Earth { protected String name; protected int age; public Earth(String name, int age) { this.name = name; this.age = age; } 阅读全文

posted @ 2016-05-13 09:38 vbvb520 阅读(179) 评论(0) 推荐(0) 编辑

导航