How can you get the host name of an `InetAddress` object in Java?
You can use the `InetAddress.getHostName()` method to directly retrieve the host name from the IP address.
Thatâ€™s incorrect. The method `getHostName()` is called on an `InetAddress` object, not through the class itself.
Could you describe how you would create an `InetAddress` object and retrieve the host name correctly?