FileDocCategorySizeDatePackage
RyanAndMonica.javaAPI DocExample1591Thu Mar 24 11:31:14 GMT 2005None

BankAccount

public class BankAccount extends Object

Fields Summary
private int
balance
Constructors Summary
Methods Summary
public intgetBalance()

  
      
      return balance;
   
public voidwithdraw(int amount)

      balance = balance - amount;