1.

What happens if IP Address of host cannot be determined?(a) The system exit with no message(b) UnknownHostException is thrown(c) IOException is thrown(d) Temporary IP Address is assigned

Answer» Right choice is (b) UnknownHostException is thrown

The explanation: UnknownHostException is thrown when IP Address of host cannot be determined. It is an extension of IOException.


Discussion

No Comment Found

Related InterviewSolutions