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
Is it safe to install java on my computer?
How do you use compareto method?
Can abstract class have private constructor?
What are exceptions
Why we used break and continue statement in java?
what is static import in java? Explain
Is java se free?
Can we use switch statement with strings?
Can a static method be final?
Why is serialization required?
What is set string?
Can vector have duplicates in java?
What are the major advantages of internal iteration over external iteration?
Can we clone singleton object in java?
What is difference between == equals () and compareto () method?