InterviewSolution
Saved Bookmarks
| 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 assignedThis question was addressed to me in a job interview.This intriguing question originated from Client and Server topic in portion Java Server Technologies & Servlet of Java |
|
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. |
|