Question: please use java - Write a method size() that returns the number of elements in the linkedlist Cuplist. - Write a method getNodeAt() that returns
- Write a method size() that returns the number of elements in the linkedlist Cuplist. - Write a method getNodeAt() that returns the reference to cup node object at a specific position given as a parameter of the method. - Write a method, insertPos(), to insert a new CupNode object at a specific position given as a parameter of the method. - Write a method, deletePos(), to remove the CupNode object at a specific position given as a parameter of the method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
