adplus-dvertising
frame-decoration

Question

Which exception handler can be used when character encoding is not supported?

a.

UnsupportedException

b.

UnsupportedEncodingException

c.

SupportException

d.

EncodingException

Answer: (b).UnsupportedEncodingException

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which exception handler can be used when character encoding is not supported?

Similar Questions

Discover Related MCQs

Q. PushBackReader allows the streams to be pushed back to the stream.

Q. RandomAccessFile can be used to _______________________

Q. Which among the following is a serialization descriptor for any class?

Q. Which is a true statement for object of String class?

Q. How to declare an object of class String?

Q. What does function length do in String class?

Q. Which is the function to get the character present at a particular index in the string?

Q. If only one parameter is passed to substring function then __________________

Q. If two index are given as argument to substring function then ___________________

Q. String class have a concat() function that is used to _____________________

Q. The function lastIndexOf() is used to ___________________

Q. Function equals() is _______________ and equalIgnoreCase() is _________________

Q. The compareTo() function is used to ________________

Q. String class provides function toUpper() to _____________________

Q. String trim() function is used to _______________________

Q. Function replace() accepts _____________ arguments.

Q. If two arguments are passed to the indexOf() function then ___________________

Q. The string class deals with string of only character type.