08 2021 档案

摘要:` public class Test2 { public static void main(String[] args) { copy(new File("e:/youdao"),new File("e:/test")); } private static void copy(File src, 阅读全文
posted @ 2021-08-14 22:00 星星上的张优秀 阅读(82) 评论(0) 推荐(0)
摘要:` public class Test1 { public static void main(String[] args) throws Exception { File f=new File("e:/haha"); deleDir(f); System.out.println("删除成功!"); 阅读全文
posted @ 2021-08-14 21:44 星星上的张优秀 阅读(132) 评论(0) 推荐(0)
摘要:斗地主游戏的简单实现 public class GameDemo { /** 1、定义一个静态的集合存储54张牌对象 */ public static List<Card> allCards = new ArrayList<>(); /** 2、做牌:定义静态代码块初始化牌数据 */ static 阅读全文
posted @ 2021-08-12 14:42 星星上的张优秀 阅读(131) 评论(0) 推荐(0)

Live2D