B

Babita • 7.70K Points
Tutor III

Q. In Inetaddress class which method returns the host name of IP address?

  • (A) public string gethostaddress()
  • (B) public string gethostname()
  • (C) public string inetaddress getlocalhost()
  • (D) none
  • Correct Answer - Option(B)
  • Views: 165
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics