LinkedList<Polynomial> list = new LinkedList<Polynomial>();
I didnt have the underlined part, and thats stopped the warning from appearing whenever i compile. Thnx guys for the help.
Type: Posts; User: Blehs
LinkedList<Polynomial> list = new LinkedList<Polynomial>();
I didnt have the underlined part, and thats stopped the warning from appearing whenever i compile. Thnx guys for the help.
Oh nono thats not what im trying to do.
681
So basically I create a polynomial object. Inside each polynomial object is just 1 Linked List. Placed on each index of the linked list is an object...
Polynomial.java:12: warning: [unchecked] unchecked conversion
found : java.util.LinkedList
required: java.util.LinkedList<ListNode>
LinkedList<ListNode> list = new LinkedList();...
warning: [unchecked] unchecked conversion
found: java.util.LinkedList
requried: java.util.LinkedList<ListNode>
LinkedList<ListNode> list = new LinkedList<>;
and it has the ^ sign under...