mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
13 lines
213 B
Java
13 lines
213 B
Java
public class Test {
|
|
{
|
|
int x = 0;
|
|
|
|
newMethod(x, "foo");
|
|
|
|
newMethod(x, "bar");
|
|
}
|
|
|
|
private void newMethod(int x, String foo) {
|
|
System.out.println(foo.substring(x));
|
|
}
|
|
} |