JAVA 有個判斷用繼承關係方法instanceof 如下public isParent(Object object){ if(object instanceof ArrayLis... ... 所以一般型別陣列不會繼承Object[]。 範例程式:.
確定! 回上一頁