更多“The following diagram denotes dependency between two activities A and B,It says()A.B can’t ”相关问题
  • 第1题:

    You’re going to have a quiz ( )by another two in the ( )month.

    A. followed,followed

    B. followed,following

    C. following,followed

    D. following,following


    参考答案:B

  • 第2题:

    A、may not

    B、can’t

    C、might not

    D、mayn’t


    正确答案:B

  • 第3题:

    —_______ I return the book to the library this week?— No, you _______.You can keep it until the end of this month.

    A.Must; needn’t

    B.Can; can’t

    C.May; mustn’t

    D.Can; mustn’t


    答案:A

  • 第4题:

    The price you quoted is so high that we () help ()this transaction.

    A、can…to cancel

    B、can't...canceling

    C、can…canceling

    D、can't…to cancel


    参考答案:B

  • 第5题:

    classParent{Stringone,two;

    classParent{

    Stringone,two;

    publicParent(Stringa,Stringb){

    one=a;

    two=b;}

    publicvoidprint(){System.out.println(one);}}

    publicclassChildextendsParent{

    publicChild(Stringa,Stringb){

    super(a,b);

    }

    publicvoidprint(){

    System.out.println(one+"to"+two);

    }

    publicstaticvoidmain(Stringarg[]){

    Parentp=newParent("south","north");

    Parentt=newChild("east","west");

    p.print();

    t.print();

    }

    }

    Whichofthefollowingiscorrect?()


    参考答案:E
    这个题目涉及继承时的多态性问题,在前面的问题中已经有讲述,要注意的是语句t.print();在运行时t实际指向的是一个Child对象,即java在运行时决定变量的实际类型,而在编译时t是一个Parent对象,因此,如果子类Child中有父类中没有的方法,例如printAll(),那么不能使用t.printAll()。

  • 第6题:

    ---- Look! The man at the gate ________ be our headmaster. He is always standing there every morning.

    --- - No, it ________ be him. He is holding a meeting in the office now.

    A.must, can’t B.must, mustn’t C.can’t, can’t D.can’t, mustn’t


    正确答案:A