摘要: public class Homework21 { public static void main(String[] args) { Random rand = new Random(); Scanner sc = new Scanner(System.in); int num = rand.nex 阅读全文
posted @ 2020-09-27 15:56 liuyunche 阅读(1396) 评论(0) 推荐(1) 编辑
摘要: public class Homework{ public static void main(String[]args){ String a = "ja456va p5465hp java458script <div>465</div>"; Pattern s = Pattern.compile(" 阅读全文
posted @ 2020-09-27 15:33 liuyunche 阅读(936) 评论(0) 推荐(0) 编辑
摘要: public class Homework { public static void main (String[]args){ String a = "<div><h3>hello</h3></div><p><div>ok</div></p><div>hello333</div>"; Pattern 阅读全文
posted @ 2020-09-27 15:32 liuyunche 阅读(309) 评论(0) 推荐(0) 编辑
摘要: public class Homework { public static main (String[]rags){ int[] a = new int[10]; Random rand = new Random(); // 乱序 for (int i = 0; i < a.length; i++) 阅读全文
posted @ 2020-09-27 15:31 liuyunche 阅读(166) 评论(0) 推荐(0) 编辑
摘要: public class Homework{ public static void main(String[]args){ for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { System.out.print(j + "*" + 阅读全文
posted @ 2020-09-27 15:29 liuyunche 阅读(554) 评论(0) 推荐(0) 编辑
摘要: public class Homework17;{ public static void main (string[] args){ String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; Rand 阅读全文
posted @ 2020-09-27 15:28 liuyunche 阅读(313) 评论(0) 推荐(1) 编辑