I need help
I have someNode.java and using that I want to put stuffs through linked list.
this is my constructor taking list of strings as parameter and want to put those names in to linked list in the same order
someNode ring;
I figured it would look something like this but I can't figure it outpublic manager(List<String> names) { ring = new someNode(names.get(0); for(int i = 1; i < names.size(); i++) { kill.next = names.get(i) // this doesn't work :( ring = ring.next; } }
help !!