摘要:
In the above example, it seems that instance initializer block is firstly invoked but NO. Instance intializer block is invoked at the time of object c 阅读全文
摘要:
If the superclass method does not declare an exception If the superclass method does not declare an exception, subclass overridden method cannot decla 阅读全文
摘要:
有时候在创建某个Bean之前,需要先创建另一个Bean,这时可以使用depends-on属性。 public class Shared { private static String value; public static String getValue() { return value; } p 阅读全文