Alright, thanks for all your help!
i look in forums for very long time before i ask something and i couldnt find much info about this topic, so to make it easier for everybody else in the future,...
Type: Posts; User: creativeguitar
Alright, thanks for all your help!
i look in forums for very long time before i ask something and i couldnt find much info about this topic, so to make it easier for everybody else in the future,...
Alright so i found part of the problem, in the "insert" part my program used Seqserch to find duplicates, if there were duplicates it made that part of the array null.
i made the "insert" part...
I think im going in the right direction but i still dont understand how to fix it. i found a temporary fix but i would like to know why is doing this.
here is what i did, i added an if statement...
If i run the program without invoking log.max(); i dont get any error.
i dont think my problem is specifically in the max() function but in compareTO or somwhere else. i cant figure it out
this...
this is the assignment:
1. Create an Abstract DataElement Class as described in the Lecture.
2. Inherit an IntElement from DataElement Class as described in the Lecture.
3. Create an...