+ 1
How to create a linked list in java??? Plz explain line to line
Node createing??
2 Answers
+ 2
Create a class, e.g.
public class LinkedList {...}
Each instance of this class would be a node.
Define properties for this class - values that every node will store.
Then make a variable of the type LinkedList which would be a reference to another node.
0
Okk thanx