A

Admin • 830.13K Points
Coach

Q. Which method is used to create a Stream of primitive ints?

  • (A) IntStream.of()
  • (B) Stream.ofInt()
  • (C) IntStream.stream()
  • (D) Stream.of(int[])

Explanation by: Admin
`IntStream.of()` is used to create an `IntStream`, which is a primitive specialization of Stream.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.