以下关于abstract的说法,正确的是()。

A、abstract只能修饰类

B、abstract只能修饰方法

C、abstract类中必须有abstract方法

D、abstract方法所在的类必须用abstract修饰

查看答案

相关问题推荐

  • Prepared Statement是Statement的子接口,使用Prepared Statement要比使用Statement性能更高。

    A、对

    B、错

    查看答案
  • Statement类的用于执行SQL语句的方法是()。

    查看答案
  • Stringtrim()表示删除字符串前方的空格

    A、对

    B、错

    查看答案
  • 在Java中,根据你的理解,下列方法()可能是类Orange的构造函数。

    A

    Orange(){„}

    B

    Orange(„){„}

    C

    PublicvoidOrange(){„}

    D

    PublicOrange(){„}

    E

    PublicOrangeConstuctor(){„}

    查看答案
  • 运用单例模式只能创建出一个对象实例。

    A、对

    B、错

    查看答案
  • 下列各项,有关积滞的预防与调护,错误的是()A、调节饮食,合理喂养,乳食宜定时定量,富含营养,易
    下列各项,有关积滞的预防与调护,错误的是()

    A、调节饮食,合理喂养,乳食宜定时定量,富含营养,易于消化

    B、忌暴饮暴食、过食肥甘炙、生冷瓜果、偏食零食及妄加滋补

    C、应根据小儿生长发育需求,逐渐给婴儿添加辅食

    D、伤食积滞患儿应暂时控制饮食,给予药物调理

    E、积滞消除后,尽快恢复正常饮食,并予以滋补调理
    查看答案
  • It is because she is too young ______ she does not know how to deal with the situation.

    A. so

    B. that

    C. so that

    D. therefore
    查看答案
  • The moon gives ______ no light of its own.

    A. off 发出,发光

    B. up 放弃

    C. in 屈服

    D. away
    查看答案
  • The announcement says that the class meeting will be ______ at 7 o'clock Tuesday evening.

    A. taken

    B. made

    C. placed

    D. held
    查看答案
  • I hate those people who think they are superiorme without any reason.
    A. at B. on C. to D. than
    查看答案