Question: Write this method in Java Implement a Polynomial Linked List add method that adds two polynomials in standard form. Then return the sum polynomial which

Write this method in Java

Implement a Polynomial Linked List add method that adds two polynomials in standard form.

Then return the sum polynomial which also has to be in standard form.

Test by using the following code:

 PLL p1 = new PLL(1,3); PLL p2 = new PLL(4,4); p3 = p1.add(p2); p1 = new PLL(7,6); p2 = new PLL(6,5); p4 = p1.add(p2); sum = p3.add(p4); sum.print(); p1.print(); p2.print();

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 Databases Questions!