What is the result?

A method is declared to take three arguments. A program calls this method and passes only
two arguments. What is the result?

A method is declared to take three arguments. A program calls this method and passes only
two arguments. What is the result?

A.
An exception occurs when the method attempts to access the third argument.

B.
The third argument is given the value null.

C.
The third argument is given the value void.

D.
The third argument is given the value zero.

E.
The third argument is given the appropriate false value for its declared type.

F.
Compilation fails.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Fredy Benavides

Fredy Benavides

F compilation fails

Zedf0gSP

Zedf0gSP

505068 494179i was just browsing along and came upon your blog. just wantd to say fantastic website and this post truly helped me. 532068