forked from JavaTX/JavaCompilerCore
19 lines
188 B
Java
Executable File
19 lines
188 B
Java
Executable File
public class TestOperatorBool {
|
|
|
|
public m1(a,b) {
|
|
return a && b;
|
|
}
|
|
|
|
public m2(a,b) {
|
|
return a || b;
|
|
}
|
|
|
|
public m3(a) {
|
|
return !a;
|
|
}
|
|
|
|
public m4( a, b) {
|
|
return a==b;
|
|
}
|
|
|
|
} |