English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

4 answers

The time will not be the same.

2006-11-23 03:11:19 · answer #1 · answered by cooperman 5 · 0 0

No way!!! Java processes statements sequentially. And there is no way to make it execute 2 statements @ one time.

Check the code properly, the problem might b something else. May be the index of the child loop is same as that of parent.

2006-11-23 03:13:49 · answer #2 · answered by Snake 2 · 0 0

specific. occasion for seen common: one million. Create a style 2. Create a Command Button 3. Double click on the Command Button and style the under code: inner maximum Sub Command1_Click() Dim OuterLoop, InnerLoop as integer for OuterLoop = one million to 3 print "Outer bypass: " & OuterLoop for InnerLoop = one million to 5 print " inner Counter: " & InnerLoop next next the tip result ought to look as though: Outer bypass: one million inner Counter: one million inner Counter: 2 inner Counter: 3 inner Counter: 4 inner Counter: 5 Outer bypass: 2 inner Counter: one million inner Counter: 2 inner Counter: 3 inner Counter: 4 inner Counter: 5 Outer bypass: 3 inner Counter: one million inner Counter: 2 inner Counter: 3 inner Counter: 4 inner Counter: 5 reliable success!

2016-12-17 15:00:49 · answer #3 · answered by ? 4 · 0 0

for (int i=0;i<10;i++) {
for (int j=0;j<10;i++) {
system.out.print(array[i,,j] + "\n");
}
}

The printout will be
array[1,1]
array[1,2]
array[1,...
array[2,1]
etc

I hope this answers your question.

2006-11-23 03:44:18 · answer #4 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers