/*
* Task 2
*
* 1. Implement all the missing methods in MyStack.
* 2. Implement the MyQueue class using the provided Queue interface.
* 2a. You should use two stacks (MyStack) to...
Type: Posts; User: Blehs
/*
* Task 2
*
* 1. Implement all the missing methods in MyStack.
* 2. Implement the MyQueue class using the provided Queue interface.
* 2a. You should use two stacks (MyStack) to...
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...
thank you for your help
void setCoefficients(int coef, int power)
The above is just my method header, so the method takes two integer parameters, is performed by an object and has no return type.
What i need to know...