摘要: 转载自:飞扬青春sina blogjava字符串大小写转换的两种方法 import java.io..* public class convertToPrintString { public static void main(String[] args) throws IOException { I 阅读全文
posted @ 2015-07-29 19:05 机械公敌 阅读(4176) 评论(0) 推荐(0) 编辑
摘要: 1、List中可以添加任何对象,包括自己定义的新的类。class Person{.....}上面定义了一个Person类,下面看好如何使用ListPerson p1=new Person();Person p2=new Person();List list=new ArrayList();list. 阅读全文
posted @ 2015-07-29 19:03 机械公敌 阅读(176) 评论(0) 推荐(0) 编辑
摘要: ***Source URL: http://i.yesky.com/bbs/jsp/view.jsp?articleID=889992&forumID=150*** 1、什么是ArrayList ArrayList就是传说中的动态数组,用MSDN中的说法,就是Array的复杂版本,它提供了如下一些好 阅读全文
posted @ 2015-07-29 19:00 机械公敌 阅读(104) 评论(0) 推荐(0) 编辑