Page 1 of 1

1. Write the output of these code block without running (4) class TestChoose { public static void main(String args[]) {

Posted: Tue Jun 07, 2022 12:40 pm
by answerhappygod
1 Write The Output Of These Code Block Without Running 4 Class Testchoose Public Static Void Main String Args 1
1 Write The Output Of These Code Block Without Running 4 Class Testchoose Public Static Void Main String Args 1 (6.72 KiB) Viewed 21 times
1 Write The Output Of These Code Block Without Running 4 Class Testchoose Public Static Void Main String Args 2
1 Write The Output Of These Code Block Without Running 4 Class Testchoose Public Static Void Main String Args 2 (21.56 KiB) Viewed 21 times
1. Write the output of these code block without running

(4) class TestChoose { public static void main(String args[]) { int n=2; while (n<=10) { boolean flag-true; int kl=2; while (kl<=n/2+1) { if (n%k1==0) { flag-false; break; } kl++; } if (flag) { } n++; System.out.println(n+" "); 第2页