Even after odd problem

can u see where i am getting wrong because i have written the function oddeven correct

your code is correct but its a technical glitch. So your class should be named Main instead of Linked List.