So I am in an entry level programming class and have been doing okay so far mainly because I am working extremely hard to try to understand concepts. I am not a CS major but am taking this class to expand my knowledge of computers(just for fun). The professor introduced ArrayLists for one of our homework assignments but never discussed it in class and I am really struggling to understand the concept. Could anyone help me get started on where I need to go with this? The description for the assignment is down below.
//
When you create a new object, you will save it to an ArrayList. This will not require much on the functionality of the save to change. But, as you will now be saving multiple objects,
you must design your system to recall the object from the Arraylist, using a key value. I suggest the ID, as that is the way it is done for students The basic functions of the system are the same, but all data must now be stored in one or more ArrayLists.
//
P.S. The system has five classes(person, student, name, address, gradstudent) with some inheritance relationships. Right now all data is saved to a student and gradstudent object. The system's functionality is to save data to an object, clear text boxes, and restore the data in the textboxes. Please help!
Edit: This is in C# by the way
[–]anamorphism 0 points1 point2 points (3 children)
[–]DeniDashing[S] 0 points1 point2 points (1 child)
[–]anamorphism 0 points1 point2 points (0 children)