1.

Which of these methods return localized description of an exception?(a) getLocalizedMessage()(b) getMessage()(c) obtainLocalizedMessage()(d) printLocalizedMessage()The question was posed to me during a job interview.Query is from Creating Exceptions in section Exception Handling of Java

Answer»

The CORRECT ANSWER is (a) getLocalizedMessage()

The BEST EXPLANATION: NONE.



Discussion

No Comment Found

Related InterviewSolutions