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 an arraylist be empty?
What is the use of hashmap in java?
why java uses class level type casting ?
What Is Composition?
What do you mean by constructor?
What is preparedstatement in java?
What is the latest java version?
Explain the private field modifier?
What are the different ways of implementing thread? Which one is more advantageous?
Why does java not allow multiple public classes in a java file ?
What do you mean by platform independence? What is an interface?
What is the driver class?
What is the largest long allowed by java?
What is sleep method?
Can we have two main methods in a java class?