James58899 says to YSITD
對喔Java所有東西都繼承物件,所以直接用物件陣列就行了嘛