Please ONLY answer the questions listed below. Points will be deducted for extra code (information).
Use the class diagram below to answer the following questions.
Write code segment for:
A) Default constructors for class Company, Department and Office; in constructors, initialize the class string values to "Company", "Department", and "Office".
B) Company is composed of several departments and offices, create an object of Company (show code for all composition object's constructors call).
C) Show code to send a message from an office to all departments (the Company keeps track of all departments and offices).
D) Company sends an invitation to all employees to attend a party (show all related code for sending an invitation).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here