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 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
Get step-by-step solutions from verified subject matter experts
