Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write UML Class Diagram that illustrates the following program: 1) Person class The person class should include the following data fields; - Name - ID

image text in transcribed

Write UML Class Diagram that illustrates the following program: 1) Person class The person class should include the following data fields; - Name - ID number - birth date - home address - phone number Be sure to include get and set methods for each data field. 2) Course class The course class should contain the following fields: - ID Number - Name - College (Business, Engineering, Nursing, etc) - An Array of person objects 3) University class The University class should contain the data fields for the university, such as: - University name - Federal ID number - Address - Array / ArrayList of course class objects - Array / ArrayList of person class objects Extended Classes: 4 \& 5) Extend the Person class into Student class and Employee class 6) Extend the Employee class into Instructor class and Staff class 7&8 ) Extend the Student class into graduateStudent and undergrad Student class 9) Registration Class -.-> The Registration class creates transactions to link each student with courses they register for. The program should include the following functionality. - Add class objects to each array. - Find a specific class object in the array, searching on a specific field. - Output the contents of the entire array, including all data fields of each object. - Given a student ID \#, display the courses they have registered. for. - Given a course \#, display the class roster of registered students

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions