Question: Write a program to add and subtract polynomials ( you don t need to read input from the keyboard, just use methods to construct the

Write a program to add and subtract polynomials (you dont need to read input from the keyboard, just use methods to construct the polynomials). I have defined a class Term that contains the exponent and coefficient and implements the Comparable interface. You should define a class Polynomial that uses a java.util.LinkedList of Term objects. A toString() and equals() method is provided to help you debug. Things to keep in mind:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!