A method is declared to take three arguments. A program calls this method and passes only two arguments.
What is the results?
- Compilation fails.
- The third argument is given the value null.
- The third argument is given the value void.
- The third argument is given the value zero.
- The third argument is given the appropriate falsy value for its declared type.
- An exception occurs when the method attempts to access the third argument.
Reveal Solution Next Question