14 lines
186 B
Java
14 lines
186 B
Java
import java.lang.Integer;
|
|
import java.lang.Boolean;
|
|
import java.lang.Object;
|
|
|
|
public class IfTest {
|
|
Object m1(b) {
|
|
Integer i;
|
|
if(b) {
|
|
return i;
|
|
}else{
|
|
return b;
|
|
}
|
|
}
|
|
} |