Ah, got it. Should have been mWeekday = new ArrayList<String>(); and not ArrayList<String> mWeekday = new ArrayList<String>;
Type: Posts; User: lither
Ah, got it. Should have been mWeekday = new ArrayList<String>(); and not ArrayList<String> mWeekday = new ArrayList<String>;
Yes, I did, and it just printed null. But that shouldn't be correct, in my mind, because I used the add() method in the constructor. What am I missing out on here?
import java.util.HashMap;...
But I posted a link to it. It's right where it said "[Java] class: Person (updated) - Pastebin.com". If that's not a welcomed way of displaying code, I can include it instead.
Thank you for the replies! Helped out a lot and the only thing I've got left is some NullPointerException for my ArrayList (we haven't learned List yet, so don't bother telling me to use that ;)).
...
Hey guys!
Was recommended this forum by a friend of mine and the expertise here seems to be beyond anything I've seen before, so I'm thrilled to learn a lot from it. I'm currently studying a...