Sail E0 Webinar
Question
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.
Options:
A .  void examians() throws IOException{}
B .  void examians() throw IOException{}
C .  void examians() {} throws IOException
D .  examians() throws IOException{}
E .  void examians(void) throws IOException{}
Answer: Option A

Submit Your Solution Below and Earn Points !

Submit Solution

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

Latest Videos

Latest Test Papers