摘要: 1 package cn.temptation.test; 2 3 import java.util.ArrayList; 4 import java.util.Iterator; 5 6 public class Sample01 { 7 public static void main(String[] args) { 8 ArrayList arr... 阅读全文
posted @ 2017-03-19 19:22 {name:"代码屠夫"} 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.temptation; 2 3 public class Sample01 { 4 public static void main(String[] args) { 5 // 需求:从三国演义中评选出四个最帅的武将,并存储下来 6 7 // 因为具备了面向对象的思想,所以创建四个对象来存储 8 ... 阅读全文
posted @ 2017-03-19 09:21 {name:"代码屠夫"} 阅读(438) 评论(1) 推荐(0) 编辑