in the question i couldn't understand anything and i am totally blank can any one please guide me regarding the each answer and state why it is legal or illegal
Please do help me in this regard and thanks in advance
I would strongly suggest you paste all this into a java editor:
You'll see some errors. I fix some lines in your code which I thought were typo, but you know better, make sure you have the correct text.
Lines 3 and 5 give me errors: 3: Map doesn't have the iterator method, would need to be casted. 5: <Map.Entry> does not match the declared <Integer,String>
Alex
Dean Jones
Ranch Hand
Joined: Dec 29, 2007
Posts: 129
posted
0
I am getting compilation errors for lines 2,3,4 and 5. Can someone please explain in details.