You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stream.of(strings).forEach(s -> System.out.println(s))
Lambda expressions cannot be used in an evaluation expression
Stream.of(strings).forEach(System.out::println)
Reference expressions cannot be used in an evaluation expression