cscie160.project.account
Class AccountInfo

java.lang.Object
  |
  +--cscie160.project.account.AccountInfo
All Implemented Interfaces:
java.io.Serializable

public class AccountInfo
extends java.lang.Object
implements java.io.Serializable

By David Cheung

CSCIE160 Project

Due 05-16-2001

AccountInfo class:

Data object that stores account number and account pin. once the pin is stored, it cannot be changed.

See Also:
Serialized Form

Constructor Summary
AccountInfo(int AcctNum, int AcctPIN)
          Constructor that requires account number and pin.
 
Method Summary
 int getAccountNum()
          returns account number
 int getPinNum()
          returns Pin number
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountInfo

public AccountInfo(int AcctNum,
                   int AcctPIN)
Constructor that requires account number and pin.
Method Detail

getAccountNum

public int getAccountNum()
returns account number

getPinNum

public int getPinNum()
returns Pin number

main

public static void main(java.lang.String[] argv)