Jojo and Nick in a design discussion :
|
|
|
 | |  |
| Hey Jojo Here is the Problem statement for this Sprint ! | |
 | |  |
|
 |
|
|
|
|
 | |  |
| "A Light should be controlled by a Switch." We need to simulate that. | |
 | |  |
|
 |
 | |  |
| Ah ! That is so simple ! Switch class and Light class. Switch will have methods to control Light. | |
 | |  |
|
|
|
|
|
 | |  |
| Hey Jojo , that was quick ! But I can see some problem here . | |
 | |  |
|
 |
|
|