问题 填空题

以下程序的输出结果______。
public class Father
String name, address, tel;
int age;
public Father(String name, int age)
this.name = name;
this.age = age;

void out______
System.out.print("姓名:" + name);
System.out.print(" 年龄:" + age);

void outOther______
System.out.print(" 家庭住址:" + address);
System.out.print(" 电话:" + tel);


class Son extends Father
String school;
public Son(String name, int age)
super(name, age);

void out______
super.out______;
super.outOther______;
System.out.println(" 学校:" + school);

public static void main(String args[])
Son son = new Son("Tom", 15);
son.address = "金水区";
son.school = "九中";
son.tel = "66123456";
son.out______;

答案

参考答案:姓名:Tom 年龄:15 家庭住址:金水区 电话:66123456 学校:九中

选择题
单项选择题