(4) (5) class TestChoosel public static void main(String args[]) { int n-2: while (n<=10) ( boolean flag-true; int kl 2:
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(4) (5) class TestChoosel public static void main(String args[]) { int n-2: while (n<=10) ( boolean flag-true; int kl 2:
(4) (5) class TestChoosel public static void main(String args[]) { int n-2: while (n<=10) ( boolean flag-true; int kl 2: while (kl<=n/2+1){ if (nk1==0){ flag-false; break: } 1 kl++; ) if(flag) System.out.println(n+""); } class StaticTest ( static int x = 1: int y: StaticTest ( ) public static void main(String args[]) { StaticTest st= new StaticTest 0: System.out.println("x+x); System.out.println("st. y + st.y); st= new Static Test 0: System.out.println("x+x); System.out.println("st." + st.): ) static ( X++;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!