...
This noncompliant code example declares a variable arity method using Object
. It accepts an arbitrary mix of parameters of any object type. Legitimate uses of such declarations are rare (but see under below in the "Appicability" belowsection).
Code Block | ||
---|---|---|
| ||
ReturnType method(Object... args) { } |
...