在JAVA中只允許單一繼承(Single Inheritance),也就是說子類別同時只能繼承一個父類別。 class Son extends Father{ } 繼承的UML結構圖程式範例: class Father{ public ...
確定! 回上一頁