How to extract HashMap values?

Answer Posted / prachi

By using Map interface in-built funtions either keySet() or entrySet().

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string is a keyword in java?

549


Explain the importance of join() method in thread class?

644


How big is a gigabyte?

621


What is the formula to calculate percentage?

538


What are operators and its types?

576






How to create packages in java?

533


What do you mean by Function Overloading in java?

633


How many types of assembly languages are there?

530


How does hashset works in java?

536


Can a class have more than one object?

531


What is the purpose of static methods and static variables?

544


Which class is the superclass for every class in java programming?

576


Why hashmap is used in java?

549


What is abstract class constructor called?

571


Which of the classes will have more memory allocated?

543