Java LinkedList Implementation

If Java does not have pointers then how LinkedList is implemented in Java?

Questions by gaurav.chopra

Showing Answers 1 - 3 of 3 Answers

In Java everything is handled in objects. It is neither primitive data nor a pointer like in C.


With the object reference you can handle everything in the object data. 
Now coming to the linked list.  If we maintain the object X reference in another object Y, then Y has the access to X with the reference.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions