A

Admin • 828.03K Points
Coach

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

  • (A) void examveda() {} throws IOException
  • (B) void examveda() throws IOException{}
  • (C) void examveda() throw IOException{}
  • (D) void examveda() throw IOException{} D. void examveda(void) throws IOException{}
  • Correct Answer - Option(B)
  • Views: 17
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.