[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

JAVA Programming :: Basic Concepts - Discussion

Home > JAVA Programming > Basic Concepts > MCQs Questions Discussion

11 / 64

Choose the correct option.

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

ACompilation fails.

BThe third argument is given the value null.

CThe third argument is given the value zero.

DAn exception occurs when the method attempts to access the third argument.

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Virtusa

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here