A

Admin • 825.56K Points
Coach

Q. Which method returns the hash code of a string?

  • (A) hash()
  • (B) hashcode()
  • (C) getHash()
  • (D) hashCode()

Explanation by: Admin
hashCode() returns the hash code value of the string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.