mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
13 lines
268 B
Java
13 lines
268 B
Java
class Test {
|
|
public void print<caret>Array(String... p) {
|
|
System.out.println(p[0]);
|
|
System.out.println(p[1]);
|
|
}
|
|
|
|
public void doSmth() {
|
|
String[] arr = {"smth1", "smth2", "smth3"};
|
|
System.out.println(arr[0]);
|
|
System.out.println(arr[1]);
|
|
}
|
|
|
|
} |