Using the instanceof Keyword. If you need to verify at run time whether an object is actually an instance of a particular class, use the instanceof ...
確定! 回上一頁