参考答案和解析
参考答案:A
更多“Do you consider ________ more people over?Ait any good sendingBany good sendingCthat an ”相关问题
  • 第1题:

    The flowers smell ________ and look________.

    A.good; beautiful

    B.good; beautifully

    C.well; beautiful

    D.well; beautifully


    参考答案:A

  • 第2题:

    执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$&b $

    A.Goodaftenoon GoodAfternoon

    B.Good+ GoodAfternoon

    C.Good+ Good&Afternoon

    D.Good Good&


    正确答案:A
    解析:字符串的运算符有“&”,表示将两个字符串连接在一起,“+”也可以起到相同的作用,但为了使程序严谨并提高可读性,一般不使用“+”。

  • 第3题:

    以下程序的运行结果为:public class Test{public static void main(String argv[ ]){System.out.println("good"+"morning");}}

    A. goodmorning

    B. "good"+"morning"

    C. good morning

    D. good+morning


    正确答案:A

  • 第4题:

    能正确进行字符串赋值、赋初值的语句组是()。

    A、chars[5]={a,e,i,o,u};

    B、char*s;s=“good!“;

    C、chars[5]=“good!“;

    D、chars[5]=“good!“;


    参考答案:B

  • 第5题:

    执行以下语句后,输出的结果是 a$= "Good" b$="Afternoom" Print a$+b$ Print a$&b$

    A.GoodAfternoon GoodAfternoon

    B.Good+ GoodAfternoon

    C.Good+ Good&Afternoon

    D.Good Good&


    正确答案:A
    解析:本题主要考查字符串的连接问题。字符串的运算符有“&”,表示将两个字符串连接在一起,“+”也可以起到相同的作用,但为了使程序严谨并提高可读性,一般不使用“+”。本题选A。

  • 第6题:

    6.I had a __________ sleep last night. Did you sleep ___________,Mary?

    A.good , well B.well, good

    C.well ,well

    D.good ,good


    正确答案:A