Stream java error

on the Coding Games and Programming Challenges to Code Better
way do i get error cannot find symbol
for stream .
my exemple int[] a = Stream.of(temps.split(" ")).mapToInt(Integer::parseInt).toArray();
beacuse in faq it say it use java 8 so it should work stream .(i am sorry for my bad english grammar).

if i import import java.util.stream.Stream; it works but dont get way beacuse it already imports import java.util.*;

This would work though:
import java.util.stream.*;

I assume java’s * wildcard doesn’t go into sub folders.

It’s not an issue with our platform, this happens in every IDE I have tested.

1 Like