This content has been marked as final. Show 3 replies
I didn't put the entire class in because i didn't see the need, sorry if i was mistaken.
I had no clue your could do that with println, and you're right, dvds is null, which means there's something wrong with how i add it to my array.
The different incriments were because halfway through this code i learnt that in future i will be more likely to use ++varName than varName++, thanks for pointing it out tho, i thought i'd got them all.
Oh I know. Though i didn't do it so much as an optimization as to stop myself from getting into a habit I'm going to need to break later.
Kinda funny in this case, because the reason for the null pointer exception was because the first peice of data went to the second element, rather than the first, of the array.
Thanks though =D