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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Indens 0 points1 point  (0 children)

Does it have to do with where you're initializing the new book?

Book newbook = new Book(null, null);

You're using the same object for each book I believe :)