The instanceof operator allows you determine the type of an object. ... instanceof Map: " + (m instanceof Map)); System.out.println("m instanceof HashMap: ...
確定! 回上一頁