上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: JavaWeb Maven基本使用 项目的导入 常用命令 compile : 编译 clean : 清理 test : 测试 package : 打包 install : 安装 mvn compile 执行对 java 文件的编译 mvn clean 执行对 编译文件的删除 mvn package 阅读全文
posted @ 2022-02-06 03:39 Xuuxxi 阅读(35) 评论(0) 推荐(0) 编辑
摘要: JOSN简单认识 语法格式 对象表示为键值对 多个数据由逗号分隔 花括号保存对象 方括号保存数组 键值对用 "" 包裹,用 :隔开 { "key1": "value", "key2": 123.456, "key3": { "name": "hah", "age": 18 }, "key4": [1 阅读全文
posted @ 2022-02-03 16:55 Xuuxxi 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 查 public ArrayList<Student> findAll() { ArrayList<Student> all = new ArrayList<>(); Connection connection = null; Statement statement = null; ResultSe 阅读全文
posted @ 2022-02-03 04:30 Xuuxxi 阅读(25) 评论(0) 推荐(0) 编辑
摘要: JDBC使用方法 本质就是 socket 链接 简单入门 package JDBC01; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Sta 阅读全文
posted @ 2022-02-02 18:06 Xuuxxi 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 包装类(Wrapper ) 针对八种基本数据类型相应的引用类型 包装类转String com.learn.Wrapper_.ChangeWIthString 一些常用的方法 Integer MIN_VALUE 返回最小值 MAX_VALUE 返回最大值 Character isDigit('1') 阅读全文
posted @ 2022-02-02 11:29 Xuuxxi 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 三目运算符是一个整体 ! Object obj = true ? new Integer(1) : new Double(2.0); System.out.print(obj); 输出的是 1.0 因为三目运算符是一个整体,里面精度最高的是 Double 所以 obj 对应的精度也是 Double 阅读全文
posted @ 2022-01-29 17:44 Xuuxxi 阅读(34) 评论(0) 推荐(0) 编辑
摘要: COW #include<iostream> using namespace std; int main(){ long long int c,o,w; c = o = w = 0; int n; string alls; cin >> n >> alls; for(auto i : alls){ 阅读全文
posted @ 2022-01-22 16:17 Xuuxxi 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 滑雪 瞎写的 #include<iostream> #include<algorithm> using namespace std; const int N = 10010; double a[N],b[N]; int lena,lenb; int n; double dis; double t = 阅读全文
posted @ 2022-01-17 15:09 Xuuxxi 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 基础语法 堆,栈,常量池,内容存放的位置等 DOS命令 一些小函数 getClass() 查看运行类型 StringBuffer 类似vector的不定长度的String length() 实际长度 capacity() 理论容量 String a; String[] res = a.split(" 阅读全文
posted @ 2022-01-10 23:00 Xuuxxi 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 将点权为1的插入对尾,为0的插入队头 拖拉机 #include<iostream> #include<algorithm> #include<cstring> #include<deque> using namespace std; const int N = 2010; typedef pair< 阅读全文
posted @ 2022-01-10 19:10 Xuuxxi 阅读(42) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页