Is it always better to use inheritance instead of instanceof? ... if( !(that instanceof A) ) return false;//test if "that" is an instance of our class.
確定! 回上一頁