Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package imob;
- public class Casa extends Imovel {
- double areaConstruida;
- Casa(String p , int q, int l, double a, double v, double ac){
- super(p,q,l,a,v);
- areaConstruida = ac;
- }
- public double getIPTU(double valor){
- iptu = valor/100;
- return iptu;
- }
- public String areaString() {
- return " Γrea Construida = " + areaConstruida;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement