[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 :: Exception Handling - Discussion

Home > JAVA Programming > Exception Handling > MCQs Questions Discussion

5 / 4

Choose the correct option.

Which of these is a legal definition of a method named m assuming it throws IOException, and returns voi Also assume that the method does not take any arguments. Select the one correct answer.

Avoid m() throws IOException{}

Bvoid m() throw IOException{}

Cvoid m(void) throws IOException{}

Dm() throws IOException{}

Evoid m() {} throws IOException

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here