mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
19 lines
356 B
Java
19 lines
356 B
Java
class Test {
|
|
void test(int x) {
|
|
switch (x){
|
|
case 1:
|
|
newMethod();
|
|
break;
|
|
case 2:
|
|
System.out.println();
|
|
return;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
|
|
private void newMethod() {
|
|
System.out.println(1);
|
|
return;
|
|
}
|
|
} |