    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

##

number
  Card number encoded on the card

##

Card(int)
  Constructor

##

getNumber()
  Accessor for number

##

number

     private int number

  Card number encoded on the card

##

Card

     public Card(int number)

  Constructor

  Parameters:
    number - the card number

##

getNumber

     public int getNumber()

  Accessor for number

  Returns:
    the number of the card

    All Packages  Class Hierarchy  This Package  Previous  Next  Index