上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 39 下一页
摘要: int a = (int)number.charAt(索引) 阅读全文
posted @ 2020-10-25 11:29 武卡卡 阅读(1092) 评论(0) 推荐(0) 编辑
摘要: int n= 1234; System.out.println(n%10 ); //获取个位 System.out.println((n/10)%10 ); //获取十位 System.out.println((n/100)%10 ); //获取百位 System.out.println((n/10 阅读全文
posted @ 2020-10-25 11:23 武卡卡 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: package list; import java.util.ArrayList; import demo.Hero; public class ListTs { public static void main(String[] args) { ArrayList<Object> list = ne 阅读全文
posted @ 2020-10-23 23:04 武卡卡 阅读(78) 评论(0) 推荐(0) 编辑
摘要: word-break:keep-all; 阅读全文
posted @ 2020-10-22 22:32 武卡卡 阅读(98) 评论(0) 推荐(0) 编辑
摘要: package stream; import java.io.*; public class InputStreamReaderString { public static void main(String[] args) { File f = new File("src/stream","hell 阅读全文
posted @ 2020-10-21 21:29 武卡卡 阅读(175) 评论(0) 推荐(0) 编辑
摘要: package stream; import java.io.*; public class FileReaderTest { public static void main(String[] args) { File f = new File("src/stream","hello.txt"); 阅读全文
posted @ 2020-10-21 19:00 武卡卡 阅读(596) 评论(0) 推荐(0) 编辑
摘要: package filerun; import java.io.File; import java.io.IOException; public class RunExe { public static void main(String[] args) { // TODO Auto-generate 阅读全文
posted @ 2020-10-21 08:43 武卡卡 阅读(276) 评论(0) 推荐(0) 编辑
摘要: package practice; import java.io.File; import java.io.IOException; public class CreateFile { public static void main(String[] args) { File f = new Fil 阅读全文
posted @ 2020-10-19 10:15 武卡卡 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1.原因: 修改表结构 XXX 为 not null 时,表数据 XXX 字 段 存在 null 值。 2.解决: 去掉或修改 带有 null 值 的 ( 需要设置 not null 的) 字段 阅读全文
posted @ 2020-10-17 22:22 武卡卡 阅读(34588) 评论(0) 推荐(9) 编辑
摘要: 1,在 java project 目录下新建 lib 文件夹 2,将 mysql 的 jar 包 复制到 新建的 lib 文件夹 3,选中 lib 下的 jar 包 , 右键点击选择 build path 点击 选择 add to build path 4, 完成add to build path 阅读全文
posted @ 2020-10-14 18:27 武卡卡 阅读(361) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 39 下一页