I've added print statements throughout and can see what's causing the problem, but can't determine why. The problem is that I get the NullPointerException on line 40 of this code. Here is line 40:...
Type: Posts; User: hello_world
I've added print statements throughout and can see what's causing the problem, but can't determine why. The problem is that I get the NullPointerException on line 40 of this code. Here is line 40:...
Will try that tomorrow. I have my final to sleep for my final, then will be back to finalize my project for Saturday. I appreciate the help.
Yes sir, LocalCall extends the abstract class PhoneCall, but I have a toString() method in both of them.
I'm still getting nullpointer exceptions in my LocalCall class and don't know why. Does it have something to do with my abstract class or from the objects created by my MonthlyPhoneBill class. I'm...
I see that Junky, but that's the issue that I can't figure out. I have toString() in my abstract class and my LocalCall class and another similar class LongDistanceCall. I'm having trouble tracking...
not sure why I had my List<Object> that way. I do have "new" before my ArrayList<OBject>. As for the file name, that's above the code I originally listed in this thread. Here's the code that is...
The startTime and endTime are objects created by another class CheckedTime which extends one class, which itself extends to a third class. The third class would be considered the first class...
okay, I fixed that to look like this "if (callType.equals("D") || callType.equals("L")) {"
, but now it's creating a new error below and I am still am having the issue with extracting the strings in...
List<Object> variable = ArrayList<Object>();
Scanner fileScan;
File inputFile = null;
I checked my inputFile to see if it was in the directory. If yes then the code continues below.
try {...