class Square {
public int side;
public int area;
public Square(int side) {
this.side = side;
area = side * side;
}
public static void main
(String[] args
) { Square square = new Square(5);
System.
out.
println("Tamanho do lado: " + square.
side + " / Area: " + square.
area); }
}
Y2xhc3MgU3F1YXJlIHsKICAgIHB1YmxpYyBpbnQgc2lkZTsKICAgIHB1YmxpYyBpbnQgYXJlYTsKICAgIHB1YmxpYyBTcXVhcmUoaW50IHNpZGUpIHsKICAgICAgICB0aGlzLnNpZGUgPSBzaWRlOwogICAgICAgIGFyZWEgPSBzaWRlICogc2lkZTsKICAgIH0KCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3F1YXJlIHNxdWFyZSA9IG5ldyBTcXVhcmUoNSk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJUYW1hbmhvIGRvIGxhZG86ICIgKyBzcXVhcmUuc2lkZSArICIgLyBBcmVhOiAiICsgc3F1YXJlLmFyZWEpOwogICAgfQp9