When MalformedURLException and UnknownHostException throws?
Submitted by: AdministratorWhen the specified URL is not connected then the URL throw MalformedURLException and If InetAddress? methods getByName and getLocalHost are unable to resolve the host name they throw an UnknownHostException.
Submitted by: Administrator
Submitted by: Administrator
Read Online Java Networking - Sockets and RMI Job Interview Questions And Answers
Top Java Networking - Sockets and RMI Questions
☺ | What does RMI stand for? |
☺ | What is the difference between the File and RandomAccessFile classes? |
☺ | What information is needed to create a TCP Socket? |
☺ | When MalformedURLException and UnknownHostException throws? |
☺ | How do I make a connection to URL? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |