We could already match on instances of subclasses in Java 17: public static String foo(Object bar) { return switch(bar) { case Integer i ...
確定! 回上一頁