摘要: 先声明一个具体的数组:String[] s = {"a","b","c","d","e"}; 1.将数组s转换成一个list列表: //该数组为一个String类型的数组,为了避免强制转换,我们直接设置List<String>来限定list列表中只能含有String类型的元素。 List<Strin 阅读全文
posted @ 2017-01-08 14:50 酸菜泡饭 阅读(680) 评论(0) 推荐(0) 编辑