上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: import java.util.Scanner; public class main { public static void show() { System.out.println("1.参数设置"); System.out.println("2.小学二年级口算题"); System.out.p 阅读全文
posted @ 2021-12-09 13:28 Acholl 阅读(30) 评论(0) 推荐(0)
摘要: public void println() { newLine(); } /** * Prints a boolean and then terminate the line. This method behaves as * though it invokes {@link #print(bool 阅读全文
posted @ 2021-12-09 13:26 Acholl 阅读(38) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { int x = 100; int y = 200; System.out.println("x+y=" + x + y); System.out.println(x + y + "=x+y"); } java中的“+” 阅读全文
posted @ 2021-12-09 13:25 Acholl 阅读(28) 评论(0) 推荐(0)
摘要: 一般是jdbc链接的数据库名字写错了,检查数据库的名字。 阅读全文
posted @ 2021-11-30 09:06 Acholl 阅读(2479) 评论(0) 推荐(0)
摘要: 解决方法:在项目自带的module-info.java文件中添加 requires java.sql; 如图所示 阅读全文
posted @ 2021-11-20 16:53 Acholl 阅读(718) 评论(0) 推荐(0)
摘要: 参考Java MySQL 连接 | 菜鸟教程 (runoob.com) 环境声明:jdk16.0.2 mysql8.0.26 使用软件声明:SQLyog(community) idea2021.2.2 eclipse2021-6 操作过程: 1.创建数据库 打开SQLyog并创建runoob数据库( 阅读全文
posted @ 2021-11-20 16:48 Acholl 阅读(129) 评论(0) 推荐(0)
摘要: 导包先有包 !!!一定要下载和自己MySQL版本一样的jar包!!! !!!一定要下载和自己MySQL版本一样的jar包!!! !!!一定要下载和自己MySQL版本一样的jar包!!! 如果没有包,参考MySQL学习-下载jar包 - HelloHui - 博客园 (cnblogs.com) 右击项 阅读全文
posted @ 2021-11-20 16:47 Acholl 阅读(146) 评论(0) 推荐(0)
摘要: 导包先有包 !!!一定要下载和自己MySQL版本一样的jar包!!! !!!一定要下载和自己MySQL版本一样的jar包!!! !!!一定要下载和自己MySQL版本一样的jar包!!! 如果没有包,参考MySQL学习-下载jar包 - HelloHui - 博客园 (cnblogs.com) 在项目 阅读全文
posted @ 2021-11-19 17:23 Acholl 阅读(543) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/Milan__Kundera/article/details/81182757 这个链接复制到浏览器查看 阅读全文
posted @ 2021-11-19 17:22 Acholl 阅读(207) 评论(0) 推荐(0)
摘要: 笔记如上 学了个代码 import java.sql.*; public class jdbc01 { public static void main(String[] args) { Connection conn = null; Statement stmt = null; ResultSet 阅读全文
posted @ 2021-11-13 21:04 Acholl 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页