Ad
  • Custom User Avatar

    Java compilation issue reported by codewar for this line,
    Predicate even = (x)-> x % 2 == 0;

    It says lambda not supported here. Why is that? it works perfectly fine in an ide