mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-31 07:20:25 +07:00
13 lines
227 B
Java
13 lines
227 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testBitwiseAnd() {
|
|
int[] arr = new int[]{1, 2, 3, 4};
|
|
int acc = 12443;
|
|
for <caret> (int i: arr) {
|
|
acc &= i;
|
|
}
|
|
}
|
|
} |