网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
已建立一个名为teacher的类,保存该类的类库名称是mylib,则删除该类正确的命令是( )。
A)REMOVE CLASS mylib OF teacher
B)REMOVE CLASS teacher OF mylib
C)DELETE CLASS mylib OF teacher
D)DELETE CLASS teacher OF rnylib
参考答案
更多 “ 已建立一个名为teacher的类,保存该类的类库名称是mylib,则删除该类正确的命令是( )。A)REMOVE CLASS mylib OF teacherB)REMOVE CLASS teacher OF mylibC)DELETE CLASS mylib OF teacherD)DELETE CLASS teacher OF rnylib ” 相关考题
考题
定义一个类名为“MyClass.java”的类,并且该类可被一个工程中的所有类访问,那么该类的正确声明应为 ( )A.private class MyClass extends ObjectB.class UyClass extends ObjectC.public class MyClassD.private class MyClass extends Object
考题
如果一个javaapplet源程序文件只定义有一个类,该类的类名为exp_applet,则类exp_applet必须是______________类的子类并且存储该源程序文件的文件名必须为exp_applet.java。
考题
创建一个名为student的新类,保存新类的类库名称是mylib,新类的父类是Person,正确的命令是A.CREATE CLASS mylib OF student As PemonB.CREATE CLASS student OF Pe~on As mylibC.CREATE CLASS student 0F mylib As Pe~onD.CREATE CLASS Person OF mylib As student
考题
创建一个名为myteacher的新类,保存新类的类库名称是mylib,新类的父类是Teacher,正确的命令是 ( )。A. CREATE CLASS mylib OF myteacher AS TeacherB. CREATE CLASS myteacher OF Teacher AS mylibC. CREATE CLASS myteacher OF mylib AS TeacherD. CREATE CLASS Teacher OF mylib AS myteacher
考题
创建一个名为student的新类,保存新类的类库名称是mylib,新类的父类名是Person,正确的命令是( )。A.CREATE CLASS mylib OF student AS PcrsonB.CREATE CLASS student OF Person AS mylibC.CREATE CLASS student OF mylib AS PersonD.CREATE CLASS Person OF mylib AS student
考题
定义一个类名为MyClass的类,并且该类可被所有类访问,那么该类的正确声明应为()A、private class MyClass extends ObjectB、class MyClass extends ObjectC、public class MyClassD、protected class MyClass extends Object
考题
( 33 ) 创建一个名为 student 的新类 , 保存新类的类库名称是 mylib, 新类的 父 类是 P erson, 正确的命令是A ) CREATE CLASS mylib OF student A s P ersonB ) CREATE CLASS student OF P erson A s mylibC ) CREATE CLASS student OF mylib A s P ersonD ) CREATE CLASS P erson OF mylib A s student
考题
如果一个JavaApplet源程序文件只定义有一个类,该类的类名为MyApplet,则类MyApplet必须是()类的子类并且存储该源程序文件的文件名为()。
热门标签
最新试卷