if(q instanceof Parallelogram)? 這里q是父類對象, Parallelogram是子類,這個if語句為什么會得到true?
關(guān)于instanceof判斷
qq_不睡覺的怪叔叔_0
2016-11-13 23:18:09