Problme#1. Class diagram. Class operations brief descri

Added on -2019-09-16

| 14 pages
| 657 words

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 THEN S = LS[1] //change ATM state from “Start” to “Idle” ENDIF }Class: SystemLogin(String loginId, String password){If(currentState == 0) then If( rud.getLoginId.equals(loginId) && rud.getPassword(password)) then S = LS[2]; Else S = LS[1];End ifEnd if

Found this document preview useful?

You are reading a preview
Upload your documents to download
Become a Desklib member to get accesss

Students who viewed this