Relative Content

Tag Archive for javainheritancearraylist

Creating a student database using inheritance and array lists

I am fairly new to java and have recently started learning object oriented programming. I have been attempting to code a student database where the user has the option to add students by inputting their name, age, and id. I want the program to store that information in an array list and then be able to print it when prompted by the user.