mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
11 lines
294 B
Java
11 lines
294 B
Java
// "Invert 'if' condition" "true"
|
|
class Inversion {
|
|
public void context(boolean a, boolean b, boolean c) {
|
|
if (!a || !b || !c) {
|
|
System.out.println(1);
|
|
}
|
|
else {
|
|
System.out.println(0);
|
|
}
|
|
}
|
|
} |