### Question:
InetUtils { public static String getLocalHost() throws UnknownHostException { InetAddress inetAddress = InetAddress.getLocalHost(); System.out.println(inetAddress.getHostAddress()); return inetAddress.getHostAddress(); }  static String getLocalHost();  }### Answer:
@Test public void testGetLocalHost() throws UnknownHostException { System.out.println(InetUtils.getLocalHost()); }