10 lines
110 B
Java
10 lines
110 B
Java
class IfElseStatement{
|
|
Integer method(Boolean flag){
|
|
if(flag){
|
|
return 0;
|
|
}else{
|
|
return 1;
|
|
}
|
|
}
|
|
}
|