Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algorithm Design And Applications

Authors: Michael T. Goodrich, Roberto Tamassia

1st Edition

1118335910, 978-1118335918

More Books

Students also viewed these Algorithms questions

Question

Treasury funding issues.

Answered: 1 week ago

Question

The purpose and structure of the treasury function.

Answered: 1 week ago

Question

Use of the yield curve by organisations.

Answered: 1 week ago