mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: ab11e0d6adbe186099a707d1260670965f5ba260
14 lines
237 B
Java
14 lines
237 B
Java
class Demo {
|
|
void caller() {
|
|
test(1, "hello");
|
|
}
|
|
|
|
void test(int x, String hello) {
|
|
if (x > 0) {
|
|
System.out.println(hello);
|
|
System.out.println(hello);
|
|
} else {
|
|
System.out.println("hello");
|
|
}
|
|
}
|
|
} |