How? Is there some code somewhere in whatever class you're defining, which defines this "LL" thing? What does this code look like? What file is it in? Is that the same file that refers to "LL" later? And what is a Linked List, anyway? Is it similar to a LinkedList? Does the compiler have some way to know whether you're talking about a java.util.LinkedList or something else?
I defined a LinkedList in my main method called LL.
"LinkedList LL = new LinkedList();"
This is all one file, I only posted a class where an error occurs. When I compile this, I get the cannot resolve symbol error because, in the method checkempty() it doesn't recognize what LL is when I use LL.size(). I guess my question could also be, how do I get it to recognize that LL is the LinkedList I defined in the main method. Sorry for the confusion.