源码简介: |
内容索引:JAVA源码,综合应用,ATM,JAVA,模拟 基于Java技术,只实现了ATM机的取款过程,有兴趣和有能力的高手可以再加以改进,这样就更完美了。可作为Java初学者《面向对象》编程的一个很好范例。 在这个程序中,用到以下JAVA类库: dataAccess(数据操作)类:包含用于数据库的相关操作 atmScreen(ATM屏幕)类:主要创建各操作窗体和相应按钮事件 Account(用户帐户)类:包含用户信息的验证、余额查询和扣钱等方法 readCard(读卡机)类:包含读取用户卡号和退卡(退出系统) moneyMachine(取钱机)类:只用于打印清单 Atm(系统)类:系统主方法的开始,负责调用其他类-Content indexing: JAVA source code, integrated applications, ATM, JAVA, simulation based on Java technology, only to realize the ATM machine withdrawals, interest and ability to master can be added to improve, so that even more perfect. Can be used as a good example of the " object-oriented" programming Java beginner. In this program, used the following JAVA class: dataAccess (data manipulation) class: contains for database operation atmScreen (ATM screen): create major form of each operation and the corresponding button event Account (user account) class: the user information authentication, balance inquiries and deducting money method readCard (card reader) class: contains the reading user card number and the back of the card (exit system) moneyMachine (teller machine) categories: only used to print a list of Atm (system responsible for calling other classes) class: the start of the main method of the system,
|