摘要: public class FileRead { public static void main(String[] args) throws IOException { //创建路径名称 String pathname="D:\\aaa.txt"; //创建file对象 File file=new F 阅读全文
posted @ 2021-04-20 17:18 Cherish° 阅读(390) 评论(0) 推荐(0)
摘要: import java.util.*; public class Collections { public static void main(String[] args) { List<String> list=new ArrayList<>(); list.add("1111"); list.ad 阅读全文
posted @ 2021-04-20 09:19 Cherish° 阅读(114) 评论(0) 推荐(0)