Contact: aviboots(AT)netvision.net.il
42,236 questions
54,948 answers
573 users
import java.util.Arrays; public class MyClass { public static void main(String args[]) { int arr[] = {1, 2, 4, 6, 8, 10, 12}; System.out.println(Arrays.stream(arr) .noneMatch(e->e % 2 == 0)); } } /* run: false */