填空题在Java中定义一个字符串类型的变量str的语句是:______,定义一个具有10个元素的整型数组a的语句是:______。
填空题Java源程序的扩展名是______,经过编译后的程序的扩展名是______。
填空题异常处理是由______、______和finally块三个关键所组成的程序块。
填空题假设x=13,y=4,则表达式x%y != 0的值是______,其数据类型是______。
填空题______方法是一种仅有方法头,没有具体方法体和操作实现的方法,该方法必须在抽象类之中定义。______方法是不能被当前类的子类重新定义的方法。
填空题在Java的基本数据类型中,char型采用Unicode编码方案,每个Unicode码占用______字节内存空间,这样,无论是中文字符还是英文字符,都是占用______字节内存空间。
填空题以下程序的输出结果______。 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______;
填空题在Java程序中,通过类的定义只能实现______重继承,但通过接口的定义可以实现______重继承关系。
