A method is declared
to take three arguments. A program calls this method and passes only two
arguments.
What is the results.
What is the results.
A.
Compilation fails.
Compilation fails.
B.
The third argument is given the value null.
The third argument is given the value null.
C.
The third argument is given the value void.
The third argument is given the value void.
D.
The third argument is given the value zero.
The third argument is given the value zero.
E.
The third argument is given the appropriate falsie value for its declared type. F) An exception occurs when the method attempts to access the third argument.
The third argument is given the appropriate falsie value for its declared type. F) An exception occurs when the method attempts to access the third argument.
Nessun commento:
Posta un commento