In Java 16, the feature "Pattern matching for instanceof" is finalized and can ... int f(Object o) { if (o instanceof String string) { // Compliant return ...
確定! 回上一頁