Answered step by step
Verified Expert Solution
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
\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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started