freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

銀行賬戶(hù)管理系統(tǒng)-課程設(shè)計(jì)報(bào)告-預(yù)覽頁(yè)

 

【正文】 指導(dǎo)教師簽字:王社偉教研室主任簽字:史衛(wèi)亞 2015年 6 月 15 日 銀行帳戶(hù)管理系統(tǒng) 一、需求分析銀行賬戶(hù)管理系統(tǒng)中,主要有以下功能::主要增加賬戶(hù)的賬號(hào),姓名,類(lèi)型以及所存的金額。:輸入賬號(hào)和密碼,并向另外一個(gè)存在的賬號(hào)轉(zhuǎn)賬。import 。import 。 } //main方法 public static void main(String[] args){ ATM atm = new ATM()。 ( *)。 (請(qǐng)選擇:)。 long id = ()。 Account account = (id, password)。 ( *)。 scanner = new Scanner()。 break。 (account, money1)。 double money2 = ()。 (請(qǐng)輸入您要轉(zhuǎn)入賬戶(hù)的卡號(hào):)。 (請(qǐng)輸入您要轉(zhuǎn)入賬戶(hù)的金額:)。 } else { (抱歉,您賬戶(hù)沒(méi)有足夠的金額!請(qǐng)查看后重新選擇輸入!)。 break。 } } } else { (沒(méi)有此賬戶(hù),請(qǐng)先開(kāi)戶(hù)!)。 String passwd1 = ()。 scanner = new Scanner()。 (請(qǐng)輸入戶(hù)主身份證號(hào)碼:)。 int type = ()。 firstFlag = false。 } } catch (Exception e) { (選擇輸入不合法,請(qǐng)重新選擇!)。import 。import 。 private int number。 number = 0。 try { bufReader=new BufferedReader(new FileReader(new File(path,)))。 accounts[number] = savingAcc。 id++。 } catch (IOException e) { // TODO Autogenerated catch block ()。 } public void setAccounts(Account[] accounts) { = accounts。 } public void setId(int id) { = id。 } //將賬戶(hù)存入賬戶(hù)數(shù)組accounts[]中 //判斷是否超出存儲(chǔ)空間 if(number = ) { //擴(kuò)容 Account[] newAccounts = new Account[*2]。 } else { accounts[number] = account。 number++。 return null。 bufWriter=new BufferedWriter(new FileWriter(new File(path,)))。 (accounts[i].getPassword()+,)。 ((accounts[i].getBalance()))。//清空緩存中的內(nèi)容 } catch (IOException e) { // TODO Autogenerated catch block ()。 for(int i = 0。 (accounts[i].getPassword())) { account = accounts[i]。 } /** * 轉(zhuǎn)賬驗(yàn)證(方法的重載) */ public Account verifyAccount(long id){ Account account = null。 break。 (money)。圖4 儲(chǔ)蓄卡用戶(hù)操作頁(yè)面public class SavingAccount extends Account{ //構(gòu)造函數(shù) public SavingAccount() { super()。 } }} CresitAccount類(lèi)對(duì)信用卡賬戶(hù)進(jìn)行透支取款,轉(zhuǎn)賬,查看余額等操作。 = ceiling。 } else { balance = money。 protected String name。 //構(gòu)造方法 public Account(){ //super()。 = name。 } //getXxx,setXxx方法 public long getId() { return id。 } public String getName() { return name。 } public int getAccountType() { return accountType。 } /** * 存款 */ public void deposit(double money){ balance += money。但是這次實(shí)驗(yàn)也是不完美的,感覺(jué)實(shí)驗(yàn)的時(shí)間太短,中間還有很多考試,以至于自己寫(xiě)實(shí)驗(yàn)的時(shí)間減少了許多,感覺(jué)自己還有好多功能可以添加比如說(shuō)交易歷史的瀏覽,統(tǒng)計(jì),還有就是貸款,還款等
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1