메소드 | 설명 | |
---|---|---|
Bank ( String name ) : System | ||
DoesAccountExist ( string name ) : bool | ||
GetAccountAmount ( string name ) : int | ||
UpdateAccount ( string name, int new_amount ) : void |
메소드 | 설명 | |
---|---|---|
InitializeDB ( ) : void |
Initializes this banks database for access later
|
|
SanitizeName ( ) : string |
Returns the name of the bank with spaces replaced with underscores.
|
public UpdateAccount ( string name, int new_amount ) : void | ||
name | string | |
new_amount | int | |
리턴 | void |