mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-24 00:44:37 +07:00
11 lines
205 B
Java
11 lines
205 B
Java
public class X {
|
|
void f(boolean isMale) {
|
|
String title;
|
|
if (isMale) {
|
|
title = "Mr.";
|
|
} else {
|
|
title = "Ms.";
|
|
}
|
|
System.out.println("title = " + title);
|
|
}
|
|
} |