enthuware.ocpjp.v7.2.1298
Posted: Thu Aug 24, 2017 5:06 am
Why does the second line System.out.println(bs.getNumberOfCopies(b)); get a NullPointException since the second book b has not been added to the BookStore and the HashMap.
So I thought the value of the first (and only) Book b was caught from the BookStore
So I thought the value of the first (and only) Book b was caught from the BookStore