【单选题】【消耗次数: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 文件
随机题目
【单选题】 Today, however, some new skyscrapers ____ up from the ground in long, wide, and curves.
①  arise
②  raise
③  rouse
④  rise
【单选题】 In order to ____ your goals, you must work hard.
①  make
②  achieve
③  require
④  develop
【单选题】 Waiter: ___Customer: No, thank you. I have already known what to order.
①  Do you like this kind of dishes?
②  You are welcome to our restaurant. Take seat, please.
③  Would you like to see a menu?
④  Everybody! Order, please!
【单选题】 When he came back after an absence of 20 years, he found his hometown completely ____. ?
①  changing ?
②  to be changed ?
③  to change ?
④  changed ?
【单选题】 We have studied English for only one year, ____ we can perform English short play already.?
①  for ?
②  and ?
③  yet ?
④  or?
【单选题】 With the old man ____ the way, we had no trouble in finding that mysterious cave.
①  leading
②  led
③  lead
④  to be led
【单选题】 How can he ____if he is not ____?
①  listen--hearing
②  hear--listening
③  be listening--heard
④  be hearing--listened to
【单选题】 Lily: Hello, John! What was the weather like yesterday?John: ____
①  I like nice and bright weather.
②  You don’t like cold weather, do you?
③  That was a favorable weather.
④  Nice and bright, not too cold.
【单选题】 10. Far away around the corner I could see a small female ____advancing towards us.
①  body
②  figure
③  man
④  symbol
【单选题】 It is often more difficult to find trained men than ____ for scientific research.
①  getting financial support
②  to getting financial support
③  to get financial support
④  in getting financial support