Single Choice Not Set

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

ID: #2194 Java Constructor and Methods 2,823 views
Question Info
#2194Q ID
Not SetDifficulty
Java Constructor and MethodsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A void atnyla() {} throws IOException
  • B void atnyla() throws IOException{}
  • C void atnyla() throw IOException{}
  • D void atnyla(void) throws IOException{}
Correct Answer

Explanation

void examveda() throws IOException{}

Share This Question

Challenge a friend or share with your study group.