mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
11 lines
296 B
Java
11 lines
296 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);
|
|
}
|
|
}
|
|
} |