Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
bgColor#FFCCCC
ReturnType method(Object... args) { }

...