danimaaan

Classe abstrata Desconto

Apr 16th, 2021
675
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package br.com.alura.desconto;
  2.  
  3. import java.math.BigDecimal;
  4.  
  5. import br.com.alura.orcamento.Orcamento;
  6.  
  7. public abstract class Desconto {
  8.    
  9.     protected Desconto proximo;
  10.  
  11.     public Desconto(Desconto proximo) {
  12.         this.proximo = proximo;
  13.     }
  14.    
  15.     public abstract BigDecimal calcular(Orcamento orcamento);
  16.  
  17. }
  18.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×