1.

Which exception handler can be used when character encoding is not supported?(a) UnsupportedException(b) UnsupportedEncodingException(c) SupportException(d) EncodingExceptionThis question was posed to me in an online quiz.My question is from IO Class topic in section Inbuilt Classes of Object Oriented Programming

Answer»

Correct ANSWER is (B) UnsupportedEncodingException

The explanation is: The encoding that is UNSUPPORTED in a system can be handled. The EXCEPTION handler is UnSupportedEncodingException class. An object of this class can be created which will catch the exception and handle it.



Discussion

No Comment Found

Related InterviewSolutions