logo

Crowdly

Browser

Add to Chrome

Що буде виведено на екран в результаті виконання наступного коду: public clas...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Що буде виведено на екран в результаті виконання наступного коду:

public class Test {

public static void main (String [] args) {

Test t = new Test ();

t.test ();

}

void test () {

Test: {

test:

for (int i = 0; true; i ++) {

if (i% 2 = = 0) continue test;

if (i> 10) break Test;

System.out.print (i);

}

}

}

}

(Java)

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome