Java does not have typeof operator but there's the instanceof operator to check the types. System.out.println("str" instanceof String); // true ...
確定! 回上一頁