need help with a Java program over a University class program shown in the image below: I need to know what I should type down described in the given detail here - Each university object will contain the following information. University Name Street Address // 1934 Same Street City // Annandale State // State ZIP // 02497 Phone number // 7033345343 In-State Tuition per credit up to 12 credits 12 – 18 credits over 18 credits Out of State Tuition per credit up to 12 credits 12 – 18 credits over 18 credits Late Fees Incidental fees per credit fee to some maximum fee Optional Health Care per credit scale up to 12 credits 12 – 18 credits over 18 credits On Campus Meal Plan Two or more plans with different costs each The University class will implement getter and setter methods for each field variable. It will also include toString() and equals() methods. The program will store these objects and their information in two separate dynamic data structures, one for the students and one for the universities. (ArrayList). The data must be stored in ascending order by (for students) last name, first name, middle name, and student ID, and (for universities) University name, State, and City. You may use an insertion sort to directly store your student objects and university objects into their respective ArrayLists or you may sort after the files are read in. Remove any duplicates. Once you have university and student arrays that do not contain any duplicates you will then print reports for each of the universities. When you output your information, it must be in alphabetical order by university and the students by last name, first name, middle name, and student ID. Because the output will be potentially long, print your output to a file instead of the terminal. However, I would recommend that you develop your print format on the terminal, using just a few students and a couple of universities. When you are satisfied with the look of the output you can then just convert your print statements to text file output statements to put the output into a file. As a final step save the Student objects and the
I need help with a Java program over a University class program shown in the image below:
I need to know what I should type down described in the given detail here -
Each university object will contain the following information.
University Name
Street Address // 1934 Same Street
City // Annandale
State // State
ZIP // 02497
Phone number // 7033345343
In-State Tuition per credit
up to 12 credits
12 – 18 credits
over 18 credits
Out of State Tuition per credit
up to 12 credits
12 – 18 credits
over 18 credits
Late Fees
Incidental fees
per credit fee to some maximum fee
Optional Health Care
per credit scale
up to 12 credits
12 – 18 credits
over 18 credits
On Campus Meal Plan
Two or more plans with different costs each
The University class will implement getter and setter methods for each field variable. It will also include toString()
and equals() methods.
The program will store these objects and their information in two separate dynamic data structures, one for the
students and one for the universities. (ArrayList<Type>). The data must be stored in ascending order by (for
students) last name, first name, middle name, and student ID, and (for universities) University name, State, and City.
You may use an insertion sort to directly store your student objects and university objects into their respective
ArrayLists or you may sort after the files are read in. Remove any duplicates. Once you have university and student
arrays that do not contain any duplicates you will then print reports for each of the universities. When you output
your information, it must be in alphabetical order by university and the students by last name, first name, middle
name, and student ID. Because the output will be potentially long, print your output to a file instead of the terminal.
However, I would recommend that you develop your print format on the terminal, using just a few students and a
couple of universities. When you are satisfied with the look of the output you can then just convert your print
statements to text file output statements to put the output into a file. As a final step save the Student objects and the
University objects to binary files.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images