MCQs > IT & Programming > Java > Which is a proper way to declare and throw exception of class XYException?

Java MCQs

Which is a proper way to declare and throw exception of class XYException?

Answer

Correct Answer: class XYException extends Exception {} ... throw new XYException();

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Java MCQ Questions

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it