i have a map with the following inputs{1,1,2,3,4,4,4,5}
i want to find out the how many 1 and 4 are there ......
can anyone give a sample program
Printable View
i have a map with the following inputs{1,1,2,3,4,4,4,5}
i want to find out the how many 1 and 4 are there ......
can anyone give a sample program
Asking for a sample program is close to asking for a solution, and rather than asking for this, why don't you please show us what you've tried and what problems you are having with your code.
edit: same as my reply to you here: http://www.java-forums.org/new-java/...verloaded.html