Oh wow, I was assuming the array was getting initialized in the constructor but it wasn't. Stupid mistake. Fixed it and it works fine. Thanks
Type: Posts; User: 3sbwya
Oh wow, I was assuming the array was getting initialized in the constructor but it wasn't. Stupid mistake. Fixed it and it works fine. Thanks
Ok so I'm working on this program which passes the elements on an array into an array object. It compiles but I keep getting an ArrayIndexOutOfBoundsException: 0 error.
Its happening at...