Problem
Using the Structural Design Pattern called The Facade Pattern. Construct a Java code that the Facade pattern can be used to provide a simplified interface to the department's course offerings and student enrollment information. The Facade Pattern allows the department to offer a more user-friendly interface to its courses and student enrollment information. Using the programming language JAVA.
Also, Demonstrate students enrolling/dropping in classes and notify the chairperson when an enrollment limit is reached. Also, demonstrate the case when the student is wait-listed and an opening occurs for that course. You can hard code the data about the semesters, courses, and enrollment limits without needing an explicit database.