πŸ“Š JAVA
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{}
πŸ’¬ Discuss
βœ… Correct Answer: (B) void examveda() throws IOException{}

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
140
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
91%
Success Rate