InterviewSolution
Saved Bookmarks
| 1. |
Which of these classes is used to encapsulate IP address and DNS?(a) DatagramPacket(b) URL(c) InetAddress(d) ContentHandler |
|
Answer» Right answer is (c) InetAddress Explanation: InetAddress class encapsulates both IP address and DNS, we can interact with this class by using the name of an IP host. |
|