摘要:
Object.class //此方法是操作系统提供的本地方法,java不做实现 https://blog.csdn.net/cjf1002361126/article/details/52750528 public native int hashCode(); //默认比较内存地址 public b 阅读全文
摘要:
首先,我们需要搞清楚为什么会出现事务. [1]Transactions are not a law of nature; they were created with a purpose, namely to simplify the programming model for applicatio 阅读全文
摘要:
《JAVA编程思想》 P140 三种用途: 1.修饰成员属性 public final int i = 1;//代表属性值不可变 public final SomeClass class = new SomeClass(); //代表属性指向的引用不可变 2.修饰方法参数 public String 阅读全文