class  Blgvi{
public static void main(String[] args) {
int[] x = {300, 40, 57};
for (int i = 0; i x.length; i++) {
if (x[i] % 2 == 0) {
System.out.print(x[i] + " ");
}
}
}
}

Guess the output?

Posted on by