What is a hashmap used for?
Answer / Durgesh Kumar Jha
HashMap in Java is used to store key-value pairs where each unique key is mapped to its corresponding value. It allows efficient retrieval and manipulation of data using keys.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is object
What is private public protected in java?
what is finalmethod & final variable with example?
What is Java Classloader?
1 Answers Phantom Technologies,
what is object slice?
What is sortedmap interface?
How can constructor chaining be done using this keyword?
Outline the major features of java.
why Interface used?
'A class is a template for an object' explain this statement.
1 Answers Akamai Technologies,
if a java file without any source code is valid java file?