Question: Write a code in Java of the following class diagram. pkg Teacher academic Title String + addressedAsName() String Teachers are addressed with their academic title

Write a code in Java of the following class diagram.

Write a code in Java of the following class diagram. pkg Teacher

pkg Teacher academic Title String + addressedAsName() String Teachers are addressed with their academic title followed by their last name 1 College Course - name: String + getCourseByCode(code : char[]): Course - codeCheck(code1: char[], code2: char(l): boolean - code: charl + Course(code : char[], maxNoStudent SeatsAvailable: int, teacher : Teacher) getCode().chard Person firstName: String lastName : String + getFirstName(): String + getLastName(): String + addressedAsName(): String Student - numberint yearin College: int +++ addressedAsName(): String Students are addressed with a title based on their year in college followed by their first and last names: 1st year: Freshman 2nd year: Sophomore 3rd year: Junior 4th year: Senior

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!