public class Bank extends Object
create table account(id int not null primary key,balance int not null).| Constructor and Description |
|---|
Bank() |
public void connect()
throws SQLException
SQLExceptionpublic void disconnect()
throws SQLException
SQLExceptionpublic void transfer(int sourceId,
int targetId,
int amount)
throws SQLException
SQLExceptionCopyright © 2003-2014. All Rights Reserved.