摘要:
public class InternDifference{ public static void main(String[] args){ String s = new String("a");//会在堆上创建一个对象,如果字符串常量池没有,也会在常量池创建一个对象,有则不会 s.intern() 阅读全文
摘要:
大方向:1.首先要配置.xml文件(总的映射文件,加载后来写的各种xml文件,每一个映射文件都得在这里面加载<mappers> <!-- 加载映射文件 --> <mapper resource="org/lanqiao/mapper/studentMapper.xml"/> <mapper reso 阅读全文