Class ChargeDecorator

    • Constructor Detail

      • ChargeDecorator

        public ChargeDecorator()
    • Method Detail

      • withdraw

        public void withdraw​(int amount)
        Specified by:
        withdraw in interface BankAccount