会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
RUI2022
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
17
下一页
2023年1月2日
JAVA-基础知识-2023-1-2
摘要: “==” 和 equals() 有什么区别呢? ==: 判断两个字符串在内存中首地址是否相同,即判断是否是同一个字符串对象 equals(): 比较存储在两个字符串对象中的内容是否一致 PS:字节是计算机存储信息的基本单位,1 个字节等于 8 位, gbk 编码中 1 个汉字字符存储需要 2 个字节
阅读全文
posted @ 2023-01-02 12:22 Rui2022
阅读(46)
评论(0)
推荐(0)
2022年12月27日
MySql-防止注入-2022-12-27
摘要: package com.kuang.lesson02;import com.kuang.lesson02.utils.JdbcUtils;import java.sql.Connection;import java.util.Date;import java.sql.PreparedStatemen
阅读全文
posted @ 2022-12-27 22:01 Rui2022
阅读(48)
评论(0)
推荐(0)
MySql-数据库增删改查-封装类直接调用-2022-12-27
摘要: 1、新建文件 db.properties driver = com.mysql.jdbc.Driverurl = jdbc:mysql://localhost:3306/jdbcstudy?useUnicode=true&characterEncoding=utf8&useSSL=falseuser
阅读全文
posted @ 2022-12-27 21:17 Rui2022
阅读(50)
评论(0)
推荐(0)
MySql-第一个JDBC程序-2022-12-27
摘要: 注意: 第1:mysql-connector-java-5.1.47.jar 将其导入到新建目录lib后一定要 右键 ADD AS LIBERARY 第2: useSSL 一定为false,否则跑不通 String url ="jdbc:mysql://localhost:3306/jdbcstud
阅读全文
posted @ 2022-12-27 19:27 Rui2022
阅读(75)
评论(0)
推荐(0)
2022年12月24日
Script-字符串-2022-12-24
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script> //<!--采用严格检查模式 use strict 放在第一行 //let 定义局部变量--> 'use strict
阅读全文
posted @ 2022-12-24 21:07 Rui2022
阅读(19)
评论(0)
推荐(0)
SCRIPT-严格检查-2022-12-24
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script><!--采用严格检查模式 use strict 放在第一行 let 定义局部变量--> 'use strict'; le
阅读全文
posted @ 2022-12-24 20:56 Rui2022
阅读(22)
评论(0)
推荐(0)
2022年12月23日
CSS-显示方块-2022-12-23
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #box{ width: 300px; height: 300px; padding: 10px; border: 2p
阅读全文
posted @ 2022-12-23 20:10 Rui2022
阅读(117)
评论(0)
推荐(0)
CSS-父类边框塌陷问题-2022-12-23
摘要: 1、增加DIV 空的 但不建议 2、在父元素中设置高度 3、使用OVERFLOW 宁愿用hidden, 不要用scroll滚动条,看上去很怪异 4、在父类后添加一个伪类 :写法稍微复杂一点,但是推荐使用的。 #father:after{ content: ' ‘ ; display :block ;
阅读全文
posted @ 2022-12-23 19:44 Rui2022
阅读(33)
评论(0)
推荐(0)
CCS-盒子模型-2022-12-23
摘要: Margin 外边距 Padding 内边距 Border 边框 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>box</title> <style> /*常见操作,初始化*/ h1,h2,ul,li,a,bo
阅读全文
posted @ 2022-12-23 16:23 Rui2022
阅读(33)
评论(0)
推荐(0)
CSS-背景-2022-12-23
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> div{ width: 1000px; height: 700px; border: 1px solid red; ba
阅读全文
posted @ 2022-12-23 15:16 Rui2022
阅读(24)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
17
下一页
公告