how copy the hashmap object into arraylist at java program?
Answer Posted / deepak
new ArrayList(hashmap.values());
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Can we have static methods in an interface?
What are different data types?
Why does java not support pointers?
Is intellij better than eclipse?
What is the integer of 16?
What are inner classes or non static nested classes in java?
Can private class be inherited in java?
Why hashset is used in java?
What is array pointers ?
Is void a return type?
What is an empty class? What functionality does it offer in Java?
What is the difference between delete and delete[]
What is the difference between an array and an array list?
Explain about the security aspect of java?
Is string pool garbage collected?