Question: 3. Implement a method to handle light in the class room as the code blow: Please notice that the light status has only one state

 3. Implement a method to handle light in the class room

3. Implement a method to handle light in the class room as the code blow: Please notice that the light status has only one state (either ON, or OFF). The output of the code above will be: The student: Ali Mosa entered the class. The student: Ali Mosa left the class. The light in room 203 is ON The light in room203 is OFF 4. Implement a method to print the names of all students in the classroom. The 203 classroom has the following students: 1- Ali Mosa 2- Majed Ahmad 3- Nawaf Jaber 4- Khaleed Bader

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!