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
How you can force the garbage collection?
What is the difference between access specifiers and access modifiers in java?
Why can't we use static class instead of singleton?
What is synchronization and why is it important in java programming?
What is boolean law?
Why enumeration is faster than iterator?
Can we have any code between try and catch blocks?
5 Coding best practices you learned in java?
What does java edition mean?
How does a for loop work java?
Is void a data type?
What is pojo class in java?
What does I ++ mean?
What is double parsedouble in java?
If a variable is declared as private, where may the variable be accessed?