【单选题】【消耗次数: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 文件
随机题目
【单选题】 NeitherJohn______hisfatherwasabletowakeupearlyenoughtocatchthemorningtrain.
①  nor
②  or
③  but
④  and
【单选题】 There’slotsoffruit_______thetree.Ourlittlecatisalsointhetree.
①  in
②  at
③  under
④  on
【单选题】 Howcanhe_______ifheisnot_______?
①  listen;hearing
②  hear;listening
③  belistening;heard
④  behearing;listenedto
【单选题】 It’sbad_______foryoutosmokeinthepublicplaceswheresmokingisnotallowed.
①  behavior
②  action
③  manner
④  movement
【单选题】 Wouldyoulet_______totheparkwithmyclassmate,Mum?
①  mego
②  megoing
③  Igo
④  Igoing
【单选题】 Theredflowergoesfromoneto_______intheclass.
①  theother
②  others
③  another
④  other
【单选题】 Willyou_______meafavor,please?
①  do
②  make
③  bring
④  give
【单选题】 Theyoungladycomingovertous______ourEnglishteacher;thewayshewalkstellsusthat!
①  mustbe
②  canbe
③  wouldbe
④  couldbe
【单选题】 Idon’tknowthepark,butit’s______tobequitebeautiful.
①  said
②  told
③  spoken
④  talked
【单选题】 He______advantageofthemomenttoleavetheroom.
①  had
②  got
③  took
④  made