Advertisement
veto14

Casa.java

Nov 28th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. package imob;
  2.  
  3. public class Casa extends Imovel {
  4. double areaConstruida;
  5. Casa(String p , int q, int l, double a, double v, double ac){
  6. super(p,q,l,a,v);
  7. areaConstruida = ac;
  8. }
  9.  
  10. public double getIPTU(double valor){
  11. iptu = valor/100;
  12. return iptu;
  13. }
  14.  
  15. public String areaString() {
  16. return " Área Construida = " + areaConstruida;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement