How many null values are allowed in hashmap?
Answer / Amar Pal Singh
A HashMap can contain null values, but it cannot have a key and value both as null. This is because Java's HashMap implementation does not allow two identical keys.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which data structure is needed to convert infix notations to post fix notations?
What do you mean by Logical Error
What is a subtree in data structures?
How many sorting algorithms are there?
What are the disadvantages of linked list over array?
Define an algorithm. What are the properties of an algorithm? What are the types of algorithms?
What is a subtree?
How do you solve a selection sort?
Define Data Structures?
Can hashmap store null values?
What is data structure geeksforgeeks?
What is binary tree? Explain its uses.