I'm almost done with a program I've been writing for days at school, but now, I don't know what is wrong with it because every time I try to run it, I get a null pointer exception when it reaches the method below.
public void addHours(int hours,int day)
{
card.addHours(hours, day);
}
This method is calling another method from another class, but this is the one giving my program trouble. What could be going wrong?

New Topic/Question
Reply




MultiQuote







|