public class app17_22 { private static String driver = "com.mysql.jdbc.Driver"; private static String url = "jdbc:mysql://localhost:3306/k"; private s ...
分类:
其他好文 时间:
2021-06-02 15:10:03
阅读次数:
0
typeof 1. 对于原始类型来说,除了 null 都可以调用typeof显示正确的类型 typeof 1 // 'number' typeof '1' // 'string' typeof undefined // 'undefined' typeof true // 'boolean' typ ...
分类:
Web程序 时间:
2021-06-02 15:04:30
阅读次数:
0
一,创建线程池时,可能使用Excutors的四种方式。 newSingleThreadExecutor()和 newFixedThreadPool(int nThreads),内部实现队列为 LinkedBlockingQueue。LinkedBlockingQueue 是一个由链表实现的有界阻塞队 ...
分类:
其他好文 时间:
2021-06-02 15:01:54
阅读次数:
0
自动化开发部署和测试 在之前章节中有一个IsValid方法,检查银行账号是是否符合校验码要求,由于这种方法很容易出现代码错误,都会写一个短小的程序来测试验证此方法。 class Program { [STAThread] static void Main(string[] args) { strin ...
分类:
其他好文 时间:
2021-06-02 14:49:27
阅读次数:
0
1、String的基本特性 String:字符串,使用一对""引起来表示。 String sl = "hello";//字面量的定义方式 String s2 = new String("hello") ; String声明为final的, 不可被继承。 String实现了Serializable接口 ...
分类:
其他好文 时间:
2021-06-02 14:38:33
阅读次数:
0
package leetcode; import java.util.ArrayList; import java.util.List; public class demo_22 { public List<String> generateParenthesis(int n) { List<Stri ...
分类:
其他好文 时间:
2021-06-02 14:38:15
阅读次数:
0
routers/router.go package routers import ( "github.com/gin-gonic/gin" "gin-blog/pkg/setting" ) func InitRouter() *gin.Engine { r := gin.New() r.Use(gi ...
分类:
Web程序 时间:
2021-06-02 14:19:19
阅读次数:
0
前言 之前都是框架类的知识,记住了以后开始补充其中的血肉,相当于是丰富其中的细节信息 确实初看一遍面向对象还是简单,但是落到细节上还是要反复推敲思考的 1. main方法中的array(数组) String [] arr :用来获取键盘录入的参数 在写好.java代码后,首先要命令行中运行 >jav ...
分类:
编程语言 时间:
2021-06-02 14:17:00
阅读次数:
0
习题 11.4编写你自己的单词计数程序,扩展你的程序,忽略大小写和标点。例如,"example."、"example,"和"Example"应该递增相同的计数器。 #include <string> #include <map> #include <iostream> #include <algor ...
分类:
其他好文 时间:
2021-06-02 14:07:14
阅读次数:
0
导入sql文件报错:ORA-01756: quoted string not properly terminated 字符集的中英文问题: 临时解决方法:export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK ...
分类:
其他好文 时间:
2021-06-02 14:06:48
阅读次数:
0