HOMELv026 Supplier s = () -> Math.random(); このラムダ式の省略形(メソッド参照)はどれか。 2026年1月24日 Math::randomが正しい Consumer<String> c = s -> System.out.println(s); c.accept(“Java”); の出力は。 Function<String, Integer> func = s -> s.length(); Integer i = func.apply(“ABC”); iの値は。