Question: Create only class called Company that has three variables Name, NoOfDepartments and NoOfEmployees. The Company class must be built using Builder Pattern and Observer Pattern.
Create only class called Company that has three variables Name, NoOfDepartments and NoOfEmployees. The Company class must be built using Builder Pattern and Observer Pattern. - for Builder Pattern the Name variable is required and other variables are optional. - For the Observer pattern, the Company must be Observable. Write all required methods that satisfy requirements of Both patterns. Consider the Observable interface already implement and do not create it..
**** please solve it ASAP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
