|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Cuenta | +--CuentaCorriente
Clase CuentaCorriente que implementa la Clase Cuenta
Field Summary |
Fields inherited from class Cuenta |
Comision, Interes, Saldo, Titular |
Method Summary | |
void |
retirar(int cantidad)
Extrae de la cuenta una cantidad de dinero. |
Methods inherited from class Cuenta |
getComision, getSaldo, getTitular, ingresar, revision, setComision, setTitular |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void retirar(int cantidad) throws SinSaldoException
retirar
in class Cuenta
cantidad
- Cantidad a extraer de la cuenta
SinSaldoException
- Excepción que salta cuando se intenta sacar más cantidad de la que hay
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |