How to extract HashMap values?

Answer Posted / prakash

By using Iterator interface and by using enhanced for
loop(for each for loop).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of main function in java?

632


What is included in core java?

683


What is the difference between serializable and externalizable interfaces?

664


Can we create object of inner class in java?

570


What is the Scope of Static Variable?

826






What is the syntax and characteristics of a lambda expression?

669


What is field name?

680


What are the four versions of java?

654


How do you calculate roots in java?

631


What is navigable map in java?

626


What language is an assembler written in?

647


What are assembly attributes?

640


Why do we need data structure in java?

682


How do you reverse a word in java?

621


Explain enumeration in java?

662