Question: JAVA need help creating polynomial expressions using a LINKED LIST made up of TERM objects that have a coeff, exponent and link to the next

JAVA need help creating polynomial expressions using a LINKED LIST made up of TERM objects that have a coeff, exponent and link to the next term. Input file is a SELF created file of sequences of numbers.
Having trouble in determining how to create and house the multiple term objects created for each line of numbers. OBJECTLIST AND OBJECTLISTNODE CODE PROVIDED
 JAVA need help creating polynomial expressions using a LINKED LIST made
up of TERM objects that have a coeff, exponent and link to
the next term. Input file is a SELF created file of sequences
of numbers. Having trouble in determining how to create and house the
multiple term objects created for each line of numbers. OBJECTLIST AND OBJECTLISTNODE
CODE PROVIDED ObjectList Classes // abjectlistNode. java public class objectListNode f private
Object info; private ObjectListNode next: /I Default ctor public Objectlist Node )

ObjectList Classes // abjectlistNode. java public class objectListNode f private Object info; private ObjectListNode next: /I Default ctor public Objectlist Node ) f info = null; next = null; // One-arg ctor public objectListNode (Object o) into = o; next = null; // Two-arg ctor public ObjectListNode (Object o, objectListNode p) ( next = p; // Sets info fielod public void setInfo (Object o) info o // Returns object in info field public object getInfo) f return info; // Sets next fiold public void setNext (objectListNode p) ( next -pi // Returns object in info field public ObjectListNode getNext) i return next

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!