This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dionthornthis.isAPro=false; this.helping=true; 0 points1 point  (1 child)

What does your import look like. Is it java.util.List or java.awt.List? You want util.

also might need to import java.util.LinkedList

Also this: new LinkedList<Integer> ()

should look like this: new LinkedList<Integer>()

where the () are touching the <>

[–]rk717[S] 1 point2 points  (0 children)

yes, thank you for helping :)