class Casa {
public void setParede
(String parede
) { this.parede = parede;
}
return parede;
}
}
class Ideone {
public static void main
(String[] args
) { try {
Casa casa = new Casa();
casa.setParede("Parede Sul");
System.
out.
println(casa.
getParede()); erro = e.getMessage();
} finally {
}
}
}
Y2xhc3MgQ2FzYSB7CiAgICBwcml2YXRlIFN0cmluZyBwYXJlZGU7CiAgICBwdWJsaWMgdm9pZCBzZXRQYXJlZGUoU3RyaW5nIHBhcmVkZSkgewogICAgICAgIHRoaXMucGFyZWRlID0gcGFyZWRlOwogICAgfQogICAgcHVibGljIFN0cmluZyBnZXRQYXJlZGUoKSB7CiAgICAgICAgcmV0dXJuIHBhcmVkZTsKICAgIH0KfQoKY2xhc3MgSWRlb25lIHsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBTdHJpbmcgZXJybz0iIjsKICAgICAgICB0cnkgewogICAgICAgICAgICBDYXNhIGNhc2EgPSBuZXcgQ2FzYSgpOwogICAgICAgICAgICBjYXNhLnNldFBhcmVkZSgiUGFyZWRlIFN1bCIpOwogICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oY2FzYS5nZXRQYXJlZGUoKSk7CiAgICAgICAgfSBjYXRjaCAoRXhjZXB0aW9uIGUpIHsKICAgICAgICAgICAgZXJybyA9IGUuZ2V0TWVzc2FnZSgpOwogICAgICAgIH0gZmluYWxseSB7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihlcnJvKTsKICAgICAgICB9CiAgICB9Cn0=