Hi, I am starting out with linkedlists and would like to know about using another class in a linkedlist.
Here is what I am trying to do:
LinkedList<Student> list = new LinkedList<Student>(); list.add(new Student("Name", 92, 87, 81));
I have no idea what the student class would look like! Would anyone mind writing a simple student class for me? (by the way, the numbers are marks). I tried making a class called Student and I put in a a method called Student, but I am really lost as to how to use a class in a linkedlist. Thanks in advance!