Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieve last element in the Map

User_19BPUJan 7 2017 — edited Apr 18 2017

Hi,

  I have Map which contains 5 elements, I want to iterate retrieve only the last element in the Map, how I can get the last element in the loop?

Thanks

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 16 2017
Added on Jan 7 2017
4 comments
651 views