What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i0; i--) {   l2:  int j = 0;   while (j  10) {   if (j  i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }   A、The program will fail to compile.B、The program will not terminate normally.C、The program will write 10 to the standard output.D、The program will write 0 to the standard output.E、The program will write 9 to the standard output.

What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i<0; i--) {   l2:  int j = 0;   while (j < 10) {   if (j > i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }   

  • A、The program will fail to compile.
  • B、The program will not terminate normally.
  • C、The program will write 10 to the standard output.
  • D、The program will write 0 to the standard output.
  • E、The program will write 9 to the standard output.

相关考题:

(), we were not going to make any concessions to his unreasonable demands. A.What may comeB.Come what mayC.May what comeD.What come

When ________, John did not reply. (A) he asking what his name was(B) was asked what his name was(C) asking what John’s name was(D) asked what his name was

What is antonymy and what are its different types?

—Hi, Mike. _________________ after your graduation?—I want to be a photographer. A. What do you want to doB. What ‟s he want to doC. What does he want to doD. What are you want to do

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

Yes,_____is difficult to find a job nowadays, but_____is more difficult is try to find such a job with a high salary but few things to do. A、it, it.B、what, what.C、it, what.D、what, it. C

10. The most important thing is _________A. what do you learnB. what did you learnC. what you have learnD. what you learnt

27. Radio and television are quite useful because you can __________ .A. see what is happening in the worldB. hear what is happening to the worldC. know what the world is likeD. see what the people on the earth are doing'

No one can be sure()in a million years.A、 what man will look likeB、 what will man took likeC、 man will look like what

I want to know().A. what is his nameB. what his name isC. what his name is

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

_______ useful book it is! A.What anB.How aC.What aD.What

A: ( )? B:She is talking to Mary.A. What is she doing right nowB. What does she doC. What is she talking about

-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

下面哪些句子表示"真可惜,真遗憾!"() A、What a day!B、What a pity!C、What a shame!D、What the hell!

what do you know about “SOPEP”?what is VRP , and what is VCP ?

what is IMO ?what is ISO 9000?what is ISM ?what is SMS system ?

If there were only one question left ,what would it most probably be?A.What was your childhood dream?B.What is your biggest achievement?C.What is your parents view of you?D.What was your handest expenrience in the war?

______ you said is true, there are still other factors to be considered.A.Supposed that what B.Supposing what thatC.Granted that whatD.Considered what that

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".

I didn′ t understand ____________. so I raised my hand to ask.A.what my teacher saysB.what does my teacher sayC.what my teacher saidD.what did my teacher say

( ) beautiful car he is riding ( ).A. What a …on B. What…inC. How…in D. What a …in

( ) beautiful Car he is riding ( )A What a …onB What…in C How..in D What a …in

健康计划的总体目标中的三个"W"指()A、who,what,whenB、what,when,whyC、who,what,whichD、what,when,whereE、when,where,which

消费者购买行为的“5W1H”研究方法中,“5W”指的是()A、WHAT、WHICH、WHEN、WHEREandWHOB、WHAT、WHY、WHEN、WHEREandWHOC、WHAT、WHY、WHICH、WHEREandWHOD、WHAT、WHY、WHEN、WHEREandWHICH

单选题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

问答题What is counterculture? What are some of the forms of counterculture?