reset password
Author Message
epascua
Posts: 47
Posted 20:43 Oct 04, 2016 |

Hello! I have a question about this:

"Write a Driver class that maintains lists of Students, Courses, and FacultyMembers and has a menu that provides ways to list them and to create them and add them to the list. Provide ways to delete Students and FacultyMembers and for Students and FacultyMembers to add and delete Courses from their course schedules. However, you do not need to provide a way to delete a Course from the list of Courses."

Do we have to write it in the driver class? Or can we just make another class for the menu and instantiate it in the driver (like what we did for the monster class)? I know it's basically the same thing, but I prefer it this way because it's more organized.

 

jhurley
Posts: 207
Posted 06:46 Oct 05, 2016 |

Yes, you can use a separate class to maintain the menus and a simpler Driver class.