下面是几条定义类的语句,不能被继承的类是( )。
A: abstract class Student {}
B: class Student{}
C: public class Student{}
D: sealed class Student{}
A: abstract class Student {}
B: class Student{}
C: public class Student{}
D: sealed class Student{}
举一反三
- 下面声明正确的是( )。 A: abstract final class Student{} B: public abstract class Student{} C: class Student extends Person,Parent{} D: private class Person{}
- 下面是几条定义类的语句,不能被继承的类是 A: abstract class Figure B: class Figure C: public class Figure D: sealed class Figure
- 下面关于子类继承父类,正确的是( )。 A: public class Student extends People{} B: public class Student implements People{} C: public class Student extends Teacher People{} D: 以上都不正确
- python中,下列哪种语法表示Student从Person中继承。( ) A: class Student: Person B: class Student extends Person C: class Student (Person) D: class Student: class Person
- 将student表中class字段删除的命令是()。 A: DROPTABLEstudentclass B: ALTER TABLE student class C: ALTER TABLE student DROP class D: DROP TABLE student ALTER class