MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Computer Networks
Computer Networks Assessment
Q
What does the java.net.InetAddress class represent?
AA. Socket
BB. Ip address
CC. Protocol
DD. Mac address
Correct Answer:
B. B. Ip address
Explanation:
The java.net.InetAddress class represents IP Address of a particular specified host. It can be used to resolve the host name from the IP address or the IP address from the host name.