Can arraylist hold different types java?
Answer / Bharat Sah
Yes, ArrayList in Java can hold elements of different data types. This is because ArrayList is a class that implements the List interface and it stores its elements in an object array under the hood.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why does java have two ways to create child threads? Which way is better?
What is matcher in java?
What is meant by vector class, dictionary class, hash table class, and property class?
What does opcode mean?
What are streams in java 8?
Is java a compiler?
What is the purpose of java?
Can you start a thread twice in Java?
What JNDI(Java Naming and Directory Interface) provides?
What is a control variable example?
How concurrent hashmap works?
How to connect to a remote database using Applet?