If an IOException in Java is thrown by isReachable, what would be an
appropriate action to take and why?
If an IOException in Java is thrown by isReachable, what would be an
appropriate action to take and why?
I guess the answer is the program should terminate the operation and print
system message: the host is not reachable. Because isReachable throws
IOException means the host is not reachable. But I am not sure about the
answer. If you could help me, I will be so thankful.
thank you so much
No comments:
Post a Comment