Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer these classes in java please begin{tabular}{|l|} hline multicolumn{1}{|c|}{ Instructor } hline - major: String - department: String - hireDate: Date

answer these classes in java please
image text in transcribed
\begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ Instructor } \\ \hline - major: String \\ - department: String \\ - hireDate: Date \\ - numOfinstructors: static int \\ \hline + Instructor () \\ + Instructor (String, String, Date) \\ + setMajor (String): void \\ + getMajor(): String \\ + setDepartment (String): void \\ + getDepartment (): String \\ + setHireDate (Date): void \\ + getHireDate ():Date \\ + getNumOfInstructors(): int \\ + toString(): String \\ \hline \end{tabular} \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ Date } \\ \hline - day: int \\ - month: int \\ - year: int \\ \hline + Date () \\ + Date (int, int, int) \\ + setDay (int): void \\ + getDay(): int \\ + setMonth (int): void \\ + getMonth (): int \\ + setYear: int (int): void \\ + getYear: int (): int \\ + toString(): String \\ \hline \end{tabular} \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ Address } \\ \hline - city: String \\ - district: String \\ - street: int \\ - buildingNum: int \\ \hline + Address () \\ + Address (String, String, String, int) \\ + setCity (String): void \\ + getCity(): String \\ + setDistrict (String): void \\ + getDistrict (): String \\ + setStreet (int): void \\ + getStreet (): int \\ + setBuildingNum (int): void \\ + getBuildingNum (): int \\ + toString(): String \\ \hline \end{tabular}

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_2

Step: 3

blur-text-image_3

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

Montgomery Auditing Continuing Professional Education

Authors: Patrick J. McDonnell, Barry N. Winograd, James S. Gerson, Henry R. Jaenicke, Vincent M. O'Reilly

12th Edition

0471346055, 978-0471346050

More Books

Students also viewed these Accounting questions