What will be written to the standard output when the following program is run?() public class Qcb90 { int a; int b; public void f() { a = 0; b = 0; int[] c = { 0 }; g(b, c); System.out.println(a + " " + b + " " + c[0] + " "); } public void g(int b, int[] c) { a = 1; b = 1; c[0] = 1; } public static void main(String args[]) { Qcb90 obj = new Qcb90(); obj.f(); } } A、0 0 0B、0 0 1C、0 1 0D、1 0 0E、1 0 1
What will be written to the standard output when the following program is run?() public class Qcb90 { int a; int b; public void f() { a = 0; b = 0; int[] c = { 0 }; g(b, c); System.out.println(a + " " + b + " " + c[0] + " "); } public void g(int b, int[] c) { a = 1; b = 1; c[0] = 1; } public static void main(String args[]) { Qcb90 obj = new Qcb90(); obj.f(); } }
- A、0 0 0
- B、0 0 1
- C、0 1 0
- D、1 0 0
- E、1 0 1
相关考题:
- What do you think of this novel?_________________________________ A.l' ve read it.B.It' s well-wri tten.C.It was written by my uncle.
Utterance meaning in a face-to-face communication refers to(). A、what the speaker has intended to convey in what is saidB、what what is said normally meansC、what the hearer has understood on the basis of what is saidD、the associative meaning words have
It is said in Australia there is more land than the government knows ___. A. it what to do wthB. what do it withC. what to do with itD. to do what with it
在Word中,可以将编辑的文本以多种格式保存下来,下列选项中,Word支持的保存格式是()。 A、doc文件、txt文件、rtl文件B、文本文件、wps文件、位图文件C、pic文件、txt文件、书写器文件D、wri文件、bmp文件、doc文件
-My watch is not working. ________?-It's ten past eleven.A、What time is itB、What's the timeC、What time is it by your watchD、What is time by your watch
-________?-It's Sunday.A、What day is it todayB、What date is it todayC、What's the dateD、What's day
将考生文件夹下PASTE文件夹中的文件FLOPY.BAS复制到考生文件夹下JUSTY文件夹中。2.将考生文件夹下PARM文件夹中的文件HOLIER.DOC设置为存档和只读属性。3.在考生文件夹下HUN文件夹中建立一个新文件夹CALCUT。4.将考生文件夹下SMITH文件夹中的文件COUNTING.WRI移动到考生文件夹下 OFFICE文件夹中,并改名为IDEND.WRI。5.将考生文件夹下SUPPER文件夹中的文件WORD5.PPT删除。
Which of the following may illustrate the difference between "competence" and__________ "performance"?A.What a person "knows" and what he/she "does".B.What a person "can do" and what he/she "does".C.What a person "does" and what he/she "knows".D.What a person "does" and what he/she "can do".
设有如下的过程说明 PROCEDURE wri; BEGIN Writeln(‘Welcome to use pascal!!!’); End; 则下面有关过程wri的叙述中正确的是()A、过程说明有错,因为没有形式参数B、过程说明有错,因未说明过程的类型C、过程说明有错,因为在过程体内没有给过程名赋值的语句D、过程说明正确
单选题设有如下的过程说明 PROCEDURE wri; BEGIN Writeln(‘Welcome to use pascal!!!’); End; 则下面有关过程wri的叙述中正确的是()A过程说明有错,因为没有形式参数B过程说明有错,因未说明过程的类型C过程说明有错,因为在过程体内没有给过程名赋值的语句D过程说明正确
单选题Before writing a book, the first thing is considering what to say.Ayou must first ponder what to say and what not to be said carefullyBit’s extremely necessary that you know what to sayCthe first thing is to consider what to sayDyou must first ponder what to say and what not to say