📚 Practice Mode

Advanced Java

Learn at your own pace with hints and detailed explanations

1 / 16
Multiple Choice

Which of the following methods of InetAddress class returns a string that represents the host address associated with the InetAddress object?

  1. getaddress()
  2. getHostAddress()
  3. getHostName()
  4. hashCode()
  5. toString()