Created
February 7, 2021 14:50
-
-
Save azzumw/21532d5d6e61a49cf9b680fc0b6f14eb to your computer and use it in GitHub Desktop.
Menu PrcessMenuOption method
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@adil - this is the getInstance Method in VendingMachine:
static VendingMachine getInstance(){
if(vm == null){
synchronized (VendingMachine.class){
vm = new VendingMachine();
}
}
return vm;
}