public class HelloWorld { public static void main(String[] args) { //大小写十分敏感 String Man="qinjiang"; String man="qinjiang"; String Ahello="qinjiang"; S ...
分类:
其他好文 时间:
2021-06-02 16:40:41
阅读次数:
0
matplotlib是python中强大的画图模块。 首先确保已经安装python,然后用pip来安装matplotlib模块。 进入到cmd窗口下,建议执行python -m pip install -U pip setuptools进行升级。 接着键入python -m pip install ...
分类:
编程语言 时间:
2021-06-02 16:30:42
阅读次数:
0
单列集合的工具类 // Lists // 创建集合 List<String> list1 = Lists.newArrayList(); List<String> list2 = Lists.newArrayListWithCapacity(8); List<String> list3 = List ...
分类:
其他好文 时间:
2021-06-02 16:29:39
阅读次数:
0
ArrayList list = new ArrayList(); // 第一次扩容 for (int i = 0; i < 10; i++) { list.add(i); } ArrayList list1 = list; for (int i = 0; i < 5; i++) { list1.a ...
分类:
其他好文 时间:
2021-06-02 16:00:48
阅读次数:
0
// 字符处理的相关api // String.slice(start?: number, end?: number): string // String.substr(from: number, length?: number): string // String.substring(start: ...
Java中"="等号作用是赋值,优先级很低,就是把等号右边的值赋值给左边。但你先看下面的一块代码。 基本类型使用等号 String a = "123"; String b; System.out.println((b = a) == null);//打印1 System.out.println(b) ...
分类:
编程语言 时间:
2021-06-02 15:42:35
阅读次数:
0
1.ip public class TestInetAddress { public static void main(String[] args) { try { //查询本机IP,可以new InetAddress byName = InetAddress.getByName("localhos ...
分类:
Web程序 时间:
2021-06-02 15:28:12
阅读次数:
0
switch结构 switch(整数|字符|枚举|String){ case 内容:{ 内容满足时执行; [break;] } case 内容:{ 内容满足时执行; [break;] } default: { } } do while结构 do{ …… }while(boolean表达式) cont ...
分类:
其他好文 时间:
2021-06-02 15:24:52
阅读次数:
0
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