Can list contain null values?
Answer / Ritu Jain
Yes, an ArrayList in Java can contain null values. In fact, any object, including a String or Integer, can contain null as one of its elements.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is entryset method in map?
What are the advantages of array?
Can hashmap have same key?
why it is difficult to store linked list as an array?
Is array faster than arraylist?
List some applications of queue data structure.
How do you declare A pointer to array of three chars
What is meant by deque?
How many null values are allowed in hashmap?
What is entryset in hashmap?
Why insertion is faster in linked list?
Why sorting is used?