Use the get method to "pull" an element/object from the arraylist.
Then extract the name and id of the student from the object and print them.
Your code has the statement that prints the name...
Type: Posts; User: Norm
Use the get method to "pull" an element/object from the arraylist.
Then extract the name and id of the student from the object and print them.
Your code has the statement that prints the name...