• Post Reply Bookmark Topic Watch Topic
  • New Topic

Collections  RSS feed

 
Ranch Hand
Posts: 41
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all - I need some help with java collections. Here is the code snippet. the issue is after second iteration the values from the first iteration in paymentList are overridden with the second . but it doesn't happen on third iteration. Can someone please help what is it i am doing wrong here. Please let me know if something is not clear and i can provide more details. Really appreciate your help in advance.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!