Computer Science, asked by yaminijampani681, 2 months ago

). Which of the following statements is true?
A: HashSet uses HashMap for its implementation,
B: HashMap uses HashSet for its implementation.
c: Neither of them uses the other for its implementation.

Answers

Answered by gamestly
0

Answer:

A is the correct statement

 \sqrt[?]{?}

Answered by bhuvna789456
0

Answer:

    The answer is HashSet uses HashMap for its implementation (option A).

Explanation:

  • HashMap Stores elements in form of key-value pair i.e each element has its corresponding key which is required for its retrieval during iteration.
  • HashSet stores only objects no such key-value pairs are maintained.
Similar questions