Code example for InetAddress

Methods: getHostName

0
      } 
    } 
 
    public static String getHostName(InetAddress ia)
    { 
       return ia.getHostName();
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java