问题
单项选择题
创建一个名为student的新类,保存新类的类库名称是mylib,新类的父类是Person,正确的命令是( )。
A) CREATE CLASS mylib OF student As PerSon
B) CREATE CLASS studem OF Pemon As mylib
C) CREATE CLASS Student OF mylib As PerSon
D) CREATE CLASS Person OF mylib As student
答案
参考答案:C
解析: 可以用CREATE CLASS命令一创建类,格式为:CREATE CLASS<类名> OF<类库名> AS <父类名>。