Q. In Inet Address class, which method returns the host name of the IP Address? (Solved)

1. public string get hostname()

2. public string gethostaddress()

3. public static inetaddress get localhost()

4. public getbyname()

  • a. public string get hostname()
Subscribe Now

Get All Updates & News