Creating a Simple Banking Application
Note |
To
work with any of these samples, you will need the
following: .........................................JDK 1.2 or higher (I use JDK 1.3.1) .........................................PE:JTM - The Productivity Environment for JavaTM (from HYWY Software Corporation) |
The following file should be located in the Classes Folder that you identified in PE:J
com/hywy/samples/bank/Checking.java | |
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: |
/** * Class Description for Checking.java * * @author: gopalan * @created date: Apr 16, 2002 * @last modified date: * @version: * */ public class Checking extends Account { /** Constructor */ public Checking() { super(); /////////////////////////////////////////// //// Start of User's Business Logic //// /////////////////////////////////////////// this.accountType_ = CHECKING_ACCOUNT_; /////////////////////////////////////////// //// End of User's Business Logic //// /////////////////////////////////////////// } /** Default toString() method */ public java.lang.String toString() { //return ""; /////////////////////////////////////////// //// Start of User's Business Logic //// /////////////////////////////////////////// return super.toString(); /////////////////////////////////////////// //// End of User's Business Logic //// /////////////////////////////////////////// } } |
click here to go to
My JDO
HomePage...
click here to go
to
My
Advanced Java Tutorial Page...
About the Author... |
Gopalan Suresh Raj is a Software Architect, Developer and an active Author. He has co-authored a number of books including "Professional JMS", "Enterprise Java Computing-Applications and Architecture" and "The Awesome Power of JavaBeans". His expertise spans enterprise component architectures and distributed object computing. Visit him at his Web Cornucopia© site (https://gsraj.tripod.com/) or mail him at gopalan@gmx.net. |
This site was developed and is maintained by Gopalan Suresh Raj This page has been visited times since February 26,2002. |
Last Updated : Feb 26, 2002 |
Copyright (c) 1997-2002, Gopalan Suresh Raj - All rights reserved. Terms of use. |
All products and companies mentioned at this site are trademarks of their respective owners. |