when malformedurlexception and


When MalformedURLException and UnknownHostException throws?

Ans) When the particular URL is not connected then the URL throws MalformedURLException and If InetAddress? methods getByName and getLocalHost are unable to resolve the host name they throw an UnknownHostException.  

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: when malformedurlexception and
Reference No:- TGS0267051

Expected delivery within 24 Hours