上一页 1 2 3 4 5 6 7 8 ··· 25 下一页
摘要: 阅读全文
posted @ 2023-03-22 10:19 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 调用: console.dir(Promise) Promise是一个构造函数,自己身上有all、reject、resolve这几个眼熟的方法,原型上有then、catch等同样很眼熟的方法 宏任务:普通任务,正常执行。正常的异步任务都是宏任务,最常见的就是定时器(setInterval, setI 阅读全文
posted @ 2023-03-22 10:18 文采呱呱 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-03-20 14:08 文采呱呱 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 查询数据库下面有多少个数据库 show databases; 阅读全文
posted @ 2023-03-20 14:02 文采呱呱 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-03-20 13:48 文采呱呱 阅读(5) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.dt;import java.util.Date;public class day { public static void main(String[] args) { Date dt = new Date(); Date dt2 = new Date(0L); 阅读全文
posted @ 2023-03-18 18:03 文采呱呱 阅读(20) 评论(0) 推荐(0) 编辑
摘要: QQ的正则表达式验证: String QQ = "[0-9]\\d{4,11}";System.out.println("123456".matches(QQ)); 手机号验证:String phone = "^(13[0-9]|14[5|7]|15[0-9]|18[0-9])\\d{8}$"; S 阅读全文
posted @ 2023-03-18 15:47 文采呱呱 阅读(23) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.bubbling; public class mid { public static void main(String[] args) { int arr[] = {11, 22, 33, 44, 55, 66, 77, 88, 99}; int index = 阅读全文
posted @ 2023-03-18 14:01 文采呱呱 阅读(8) 评论(0) 推荐(0) 编辑
摘要: //冒泡排序:package com.cyjt97.bubbling;import java.util.Arrays;public class test { public static void main(String[] args) { int arr[] = {11, 33, 22, 66, 5 阅读全文
posted @ 2023-03-18 11:04 文采呱呱 阅读(13) 评论(0) 推荐(0) 编辑
摘要: package com.cyjt97.arr; import java.lang.reflect.Array; import java.util.Arrays; public class arr { public static void main(String[] args) { int arr[] 阅读全文
posted @ 2023-03-17 17:36 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 25 下一页