Implementation of QUEUE using LINKED LIST

Sir we have choose the name of linked list as queue also we make the object of class as same name of linked list.
can we take different name also please tell me how jvm difrentiate this.

In Java it is absolutely correct to specify the name of the class and the name of the variable to be exactly the same. The compiler understands the syntax so it knows what part of the program represents the identifier and what part represents the class name.