Odd Even LinkedList Java

Since I code in Java and there is no concept of pointers there, what will be the function signature in java Code?

@ranaabhinav50 hey in java you have to create class,and each node of linked list represent object of class,so to acess the member of object like next so write like this:
obj.next using dot operator,hope you get it.

Hey Thanks , can you check this codehttps://ide.codingblocks.com/s/257130. oddEvenList function has some problem.

@ranaabhinav50 hey please handle that cases when even list is NULL or odd list is NULL or both of them are NULL,it will pass.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

I can’t seem to understand what’s wrong in this code . Can you explain?

@ranaabhinav50 hey suppose even linked list head is NULL so you have to attach NULL after tail of odd ,suppose odd head is NULL so you have to make head of linked list to even head as there is no odd element in linked list,so make these changes it will pass.