更多“Tony: Eric has decided to quit drinking.David: Again? ______A、It's a difficult decis ”相关问题
  • 第1题:

    本题读取用户输入的字符流,直到用户输入字符串quit后结束。

    importjava.io.*;

    public class javal{

    public static void main(String[]args){

    BufferedReader in;

    ir=new InputStreamReader(System.in);

    in=new BufferedReader(ir);

    System.OUt.println("please input:");

    while( ){

    try{

    String s=in.readLine();

    System.out.println("echo:"+s);

    if(S.equals("quit"))

    )catch(Exception e){

    }

    }

    }

    }


    正确答案:
    第1处:InputStreamReaderir第2处:true第3处:break【解析】第1处构造一个InputStreamReader对象,把从控制台输入的字节作为参数,构建一个读取数据用的InDutStreamReader流,读取字节将其解码为字符;第2处while条件为真,执行循环;第3处当输入的s中的内容为quit时,跳出循环。

  • 第2题:

    3. —Why do you hate(讨厌) math?

    —Because it's________

    A. interesting

    B. relaxing

    C. exciting

    D. difficult


    正确答案:D
    3.D‘解析】选项中只有difficult有可能成为“不f 喜欢数学”的原因。

  • 第3题:

    He has made up his mind to give up smoking.

    A:tried
    B:attempted
    C:agreed
    D:decided

    答案:D
    解析:
    make up one's mind:打定主意,决心。decide:决定。例如:Susan has made up her mind that , come what may , she will stay with John.苏珊决心已下,不管发生什么,她都将跟约翰在一起。He decided not to do that.他决定不干那件事。try:设法,例如:We are all trying to improve our English.我们都在设法提高我们的英语水平。attempt:试图,例如:We attempted to quit smoking , but failed.我们试图戒烟,但没有成功。agree:同意,例如:They might not agree with her opinion.他们可能不同意她的意见。故答案为D。

  • 第4题:

    44______.

    A. Began

    B.stopped

    C.forgot

    D.decided


    正确答案:D

  • 第5题:

    She determined to leave the school at once.

    A:tried
    B:attempted
    C:agreed
    D:decided

    答案:D
    解析:
    determine“下定决心” , decide“决定”,例如:He decided not to do that.他决定不干那件事。try“设法”,例如:We are all trying to improve our English.我们正设法提高我们的英语水平。attempt“试图”,例如:We attempted to quit smoking , but failed.我们试图戒烟,但没有成功。agree“同意”,例如:They might not agree with her opinion.他们可能不同意她的意见。