2018-06-12 09:41:59 +00:00
|
|
|
import java.lang.Integer;
|
|
|
|
import java.lang.Boolean;
|
2018-08-29 22:02:17 +00:00
|
|
|
import java.lang.String;
|
2018-06-12 09:41:59 +00:00
|
|
|
|
2017-12-20 12:35:55 +00:00
|
|
|
public class IfTest{
|
|
|
|
Integer m1(Boolean b) {
|
|
|
|
Integer i;
|
2018-08-29 22:02:17 +00:00
|
|
|
String b;
|
2017-12-20 12:35:55 +00:00
|
|
|
if(b) {
|
|
|
|
return i;
|
2018-08-29 22:02:17 +00:00
|
|
|
}else{
|
|
|
|
return b;
|
2017-12-20 12:35:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|