Class name is the given challenge

Here, the class name is given as LinkedList, and that’s why the error is occurring again and again

Do I need to change the class name to Main

yes just change the class name to Main