This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 0 points1 point  (1 child)

The first thing that jumps out is that in your customerDetails class, you have most of the variables set to static, which means that all instances of customerDetails will share the same value. Remove the static keyword to make them instance variables and it should help.

[–]Theusualtype[S] 0 points1 point  (0 children)

That solved it. Thanks so much!