Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method getValorImposto() is undefined for the type Tributavel
at CalculadorDeImposto.registra(CalculadorDeImposto.java:8)
at TesteTributaveis.main(TesteTributaveis.java:12)