import static java.util.Arrays.stream | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

import static java.util.Arrays.stream

import static java.util.Arrays.stream; why is this give me an error ?

27th Nov 2017, 6:24 PM
Nehal Magdy
Nehal Magdy - avatar
1 Answer
+ 9
Try the following statements: import java.util.Arrays; import java.util.stream.Stream;
27th Nov 2017, 6:36 PM
Shamima Yasmin
Shamima Yasmin - avatar