The problem was with with PolyFile.txt and the addTerm() inside the class Polynomial.java.
so the original PolyFile.txt I had was:
4.0 3 2.5 1 8.0
5.0 4 5.0
4.0 4 5.7 2 8.6
and the...
Type: Posts; User: EasyE
The problem was with with PolyFile.txt and the addTerm() inside the class Polynomial.java.
so the original PolyFile.txt I had was:
4.0 3 2.5 1 8.0
5.0 4 5.0
4.0 4 5.7 2 8.6
and the...
null is printing at Main.java:56 inside the processPolyList(). I think the problem is with Main.java:54
public static void processPolyList() {
try {
ArrayList<String> a = fromFile();
...
SOLVED
My Exception is thrown at Main.java:42 and I have racked my brain trying to figure out how to fix it
Output
null