class Main { public static void main(String[] args) { Object s = "123"; if (s instanceof String) { System.out.println(s.length()); } } }


타입 추론이 안 돼서 이 코드는 안 돌아감...


내년에 가능할 예정인데 이런 간단한 걸 2025년이나 돼야 할 수 있다는 게 놀랍다