MCQs > IT & Programming > Java > We are writing an application to manage auto parts. Auto part has String key as id. Which collection will be the most efficient, if we are going to search parts by id?

Java MCQs

We are writing an application to manage auto parts. Auto part has String key as id.
Which collection will be the most efficient, if we are going to search parts by id?

Answer

Correct Answer: HashMap

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it