class test3
{
String name="小强";
int age=18;
public test3()
{
System.out.println(name+(--age)+"岁");
}
}
class test4 extends test3
{
String sex="男";
public test4()
{
System.out.println(name+":男,"+(++age)+"岁");
}
}
class test5
{
public static void main(String args[])
{
new test4();
}
}