mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
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");
|
|
}
|
|
}
|
|
} |