Limited-time offer! Save up to 50% Off | Solutions starting at $6 each  

Problme#1. Class diagram. Class operations brief descri

Added on - 16 Sep 2019

Trusted by 2+ million users,
1000+ happy students everyday
Showing pages 1 to 4 of 14 pages
Problme#1Class diagram
Class operations brief description:Class System:S// point to current stateLS[0] // point to start stateLS[1] // point to idle stateLS[2] // point to ready stateOperations:create(){S->create()currState = S.getID()IF currState == 0 THENS = LS[1] //change ATM state from “Start” to “Idle”ENDIF}Class: SystemLogin(String loginId, String password){If(currentState == 0) thenIf( rud.getLoginId.equals(loginId) && rud.getPassword(password)) thenS = LS[2];ElseS = LS[1];End ifEnd if
}
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document