import java.sql.*; public class JdbcDemo2 { public static void main(String[] args) throws SQLException { //创建连接 Connection con = DriverManager.getConn ...
分类:
数据库 时间:
2021-06-13 10:15:56
阅读次数:
0
function addLink() { let body_element = document.body; let selection = window.getSelection(); let locationHref = document.location.href; let appendLin ...
分类:
Web程序 时间:
2021-06-13 10:12:51
阅读次数:
0
描述: 根据包名,在指定空间中创建对象 输入描述:namespace({a: {test: 1, b: 2}}, 'a.b.c.d') 输出描述:{a: {test: 1, b: {c: {d: {}}}}} 1 function namespace(oNamespace, sPackage) { ...
分类:
其他好文 时间:
2021-06-13 10:11:52
阅读次数:
0
需求 现在有一个模具 可以生成不同品牌的汽车 代码如下 public class TemplatePattren { public static void main(String[] args) { Model bwm = new BWM(); bwm.run(); Model audi = new ...
分类:
其他好文 时间:
2021-06-13 10:03:47
阅读次数:
0
'''js小知识 js注释 /*多行注释*/ //单行 引入方式 <script src="js路径"></script> <script> window.onload=function(){js} $(document).ready({js}) $(function(){js}) <script> ...
分类:
Web程序 时间:
2021-06-13 09:48:26
阅读次数:
0
function jsons($code, $message = '', $data = array()) { if(!is_numeric($code)) { return ''; } $result = array( 'code' => $code, 'message' => urlencode ...
分类:
Web程序 时间:
2021-06-13 09:22:24
阅读次数:
0
var obj1 = { a: 1, test: function() { return this.a; }, hehe: [1, null, function() { return this.a; }] } var obj2 = JSON.parse(JSON.stringify(obj1)); ...
分类:
Web程序 时间:
2021-06-11 19:08:04
阅读次数:
0
look at me Some common mistakes Don't use localized function names. Only english names (such as SUM, IF, VLOOKUP, etc) are supported. Don't use semico ...
分类:
其他好文 时间:
2021-06-11 18:40:41
阅读次数:
0
防抖 function debounce(fun,delay){ let timer = null return function(){ if(timer){ clearTimeout(timer) } timer = setTimeout(()=>{ fun.apply(this,argument ...
分类:
编程语言 时间:
2021-06-11 18:25:11
阅读次数:
0
1.System类 l System类代表系统,系统级的很多属性和控制方法都放置在该类的内部。该类位于java.lang包。 l 由于该类的构造器是private的,所以无法创建该类的对象,也就是无法实例化该类。其内部的成员变量和成员方法都是static的,所以也可以很方便的进行调用。 l 方法: ...
分类:
其他好文 时间:
2021-06-11 17:34:26
阅读次数:
0