Question

Which of the following statements invoke the exception class

  • throws new Exception();
  • throw new Exception(); (Correct Answer)
  • new Exception();
  • new throws Exception();

Answer is "throw new Exception();"

2 Answer and explanations

You don't need to login to post your comment
138
Priya

does anyone know the correct answer

91
Rashmi

how did the answer came

Post your answer

You don't need to login to post answer






Ask Question