All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class banking.Card

java.lang.Object
   |
   +----banking.Card

public class Card
extends Object
Representation for customer's ATM card


Variable Index

 o number
Card number encoded on the card

Constructor Index

 o Card(int)
Constructor

Method Index

 o getNumber()
Accessor for number

Variables

 o number
 private int number
Card number encoded on the card

Constructors

 o Card
 public Card(int number)
Constructor

Parameters:
number - the card number

Methods

 o getNumber
 public int getNumber()
Accessor for number

Returns:
the number of the card

All Packages  Class Hierarchy  This Package  Previous  Next  Index