mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
13 lines
142 B
Java
13 lines
142 B
Java
class Test {
|
|
void foo(E... e) {
|
|
}
|
|
|
|
void bar() {
|
|
E[] strings = {E.E1, E.E2};
|
|
foo(strings);
|
|
}
|
|
}
|
|
|
|
static enum E {
|
|
E1, E2;
|
|
} |