InetAddress class the method that returns the host name of the IP Address - Basic concept of Networking
Q. In InetAddress class which method returns the host name of the IP Address?- Published on 10 Jul 15a. public String getHostName()
b. public String getHostAddress()
c. public static InetAddress getLocalHost()
d. None of the above
ANSWER: public String getHostName()