標籤:Stack很簡單,它繼承於Vector 第1部分 Stack介紹第2部分 Stack源碼解析(基於JDK1.6.0_45)第3部分 Vector樣本轉載請註明出處:http://www.cnblogs.com/skywang12345/p/3308852.html 第1部分 Stack介紹Stack簡介Stack是棧。它的特性是:先進後出(FILO, First In Last
標籤:asm-classr錯誤產生的資訊如下: Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn’t supported yet: file
標籤:thread 死結 死結/* * 死結:多個線程使用不同的鎖,每個線程都需要另一個線程持有的鎖 * 出現:同步的嵌套 * */public class Test01 { public static void main(String[] args) { Tom tom = new Tom(); Alice alice = new Alice(); MyThread mt1 =
標籤:Province classpackage com.apptest.xstream.test;import java.util.ArrayList;import java.util.List;public class Province {private String name;private List<City> list = new ArrayList<City>();public String getName() {return name;}public
標籤:父類(Parent):public class Parent { public String name = "parent 父類屬性"; public void say(){ System.out.println("parent say被調用"+this.getClass()); }}子類(Child):public class Child extends Parent { /** * 屬性只能被隱藏,不能被覆蓋 */