摘要: create table student_test( sid int, 学生ID tid int, 试题ID score float,得分 flag int,是否正确 stid int 试卷ID)学生表create table student( id int, //学生id name varchar 阅读全文
posted @ 2020-03-24 20:30 玄空2 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 结论:常量与常量的拼接结果在常量池,且常量池中不会存在相同内容的常量。 只要其中有一个是变量,结果就在堆中。 如果拼接结果调用intern()方法,返回值就在常量池中。 // 示例 import org.junit.Test;/** * @auto dh * @create 2020-03-24-1 阅读全文
posted @ 2020-03-24 12:28 玄空2 阅读(1016) 评论(0) 推荐(0) 编辑