Link to home
Start Free TrialLog in
Avatar of jbessom
jbessom

asked on

Coursework (bankers algorithm)

BankImpl.java Bank.java

Trying to fix the error in the BankImpl code. I have tried most that I know how to do at this point as you'll see in the commented out areas. Please help!
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Get rid of your duplicate releaseResources method. You can't have two methods with the same name and same signature
Avatar of jbessom
jbessom

ASKER

I understand It at least needs to change but I can't figure out HOW to implement that
You need to delete one of the methods - did you do that?
Avatar of jbessom

ASKER

Probably but no beans. Can you tell me which one you suggest?
There's no 'probably' about it - if you didn't then it wouldn't have compiled ;) At a quick glance they both look pretty similar
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.