Question: Change the following code to change the class capacity to 3 for both the classes. WeberClass weberClassFinance = new WeberClass(12345, Finanance 101, FIN101, instructor1, Finance,
Change the following code to change the class capacity to 3 for both the classes. WeberClass weberClassFinance = new WeberClass("12345", "Finanance 101", "FIN101", instructor1, "Finance", 30); WeberClass weberClassOOP = new WeberClass("23456", "OOP Windows", "CS3280", instructor1, "CS", 30); Make student3 and studnet4 to register for finance class. Verify that the class maximum capacity is logic is working correctly (in IsMaxCapacityReached() method) If not, fix it. If you fix it, add a comment to your code mentioning that you fixed it. If it works correct, add a comment in your code mentioning that it is already working. Add a field called _currentWaitListCount to the Weber Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
