mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
220 B
Plaintext
12 lines
220 B
Plaintext
class Test {
|
|
public void printArray(String... p) {
|
|
System.out.println(p[0]);
|
|
System.out.println(p[1]);
|
|
}
|
|
|
|
public void doSmth() {
|
|
String[] arr = {"smth1", "smth2", "smth3"};
|
|
printArray(arr);
|
|
}
|
|
|
|
} |