Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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 with AI-Powered 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

Students also viewed these Accounting questions