【单选题】【消耗次数:1】
下列哪个类的声明是正确的?( )。
abstract final class HI{}
abstract private move(){}
protected private number;
public abstract class Car{}
参考答案:
复制
纠错
相关题目
【判断题】 拥有abstract方法的类是抽象类,但抽象类中可以没有abstract方法。
①  正确
②  错误
【单选题】 Its a question of some abstract ( )of justice.
①  book
②  knowledge
③  concept
④  say
【判断题】 A word is a symbol, a representation of something in life, either physical or abstract.
①  正确
②  错误
【单选题】 声明成员变量时,如果不使用任何访问控制符(public, protected, private),则以下哪种类型的类不能对该成员进行直接访问 ( )
①  同一类
②  同一包中的子类
③  同一包中的非子类
④  不同包中的子类
【单选题】 若在某一个类定义中定义有如下的方法:abstract void performDial( );该方法属于( )。
①  接口方法
②  最终方法
③  抽象方法
④  空方法
【单选题】 ________, the number of private cars will increase sharply in the coming couple of years.
①  Undoubtedly
②  Doubtedly
③  Undoubted
④  doubt
【单选题】 _________, the number of private cars will increase sharply in the coming couple of years.
①  Undoubtedly
②  Doubtedly
③  Undoubted
④  doubt
【单选题】 如没有使用private关键字定义类的数据成员,则默认为( )
①  private
②  public
③  protected
④  friend
【单选题】 如没有使用private关键字定义类的数据成员,则默认为( )
①  private
②  public
③  protected
④  friend
【单选题】 编译下面源程序会得到哪些文件( )? class A1{ } class A2{ } public class B{ public static void main(String[] args) { } }
①  只有B.class 文件
②  只有 A1.class 和 A2.class 文件
③  编译不成功
④  A1.class、A2.class 和B.class 文件
随机题目
【判断题】 润下药物多为植物种子和种仁,富含油脂,味甘质润,多入脾、大肠经。
①  正确
②  错误
【判断题】 仙茅辛、热,有毒。
①  正确
②  错误
【判断题】 大黄炭用于热结便秘。
①  正确
②  错误
【判断题】 黄芪不能补气升阳、益卫固表、利水消肿、托疮生肌。
①  正确
②  错误
【判断题】 白术能补气健脾、燥湿利水、止汗安胎。
①  正确
②  错误
【多选题】 下列各药中,兼能平肝阳的药为( )
①  鳖甲
②  龟板
③  枸杞子
④  白芍
⑤  玉竹
【多选题】 南沙参和北沙参均具有的功效为( )
①  祛痰
②  补肺阴
③  补胃阴气
④  补心阴
⑤  补气
【多选题】 大黄的功效是( )
①  攻积泻火
②  凉血止血
③  活血化瘀
④  清热解毒
⑤  祛痰止咳
【多选题】 下列药性不是辛、热,有毒的是( )
①  仙茅
②  巴戟天
③  淫羊藿
④  人参
⑤  补骨脂
【多选题】 下列不能既能补益精血,又能润肠通便的药物有 ( )
①  熟地黄
②  阿胶
③  当归
④  白芍
⑤  黑芝麻