...
This noncompliant code example declares a vararg method using Object
. It accepts an arbitrary mix of parameters of any object type. Legitimate uses of such declarations are rare. (see See exception below).
Code Block | ||
---|---|---|
| ||
ReturnType method(Object... args) { } |
...