I'm working on an assignment for a blackjack game and I need some help figuring out how to fix an Exception error: "java.lang.ArrayIndexOutOfBoundsException: 52" which has something to do with the shuffle(). I think I implemented it correctly, but maybe there is something I'm not seeing?
Hopefully someone can help me out?
Note 1: For the shuffle() in Deck class, you can replace it with collections if you want. Part of the assignment was to use my own random generator (based on an example in class)