Question: Find the output with explanation please 5. int num 12; while (num 0) if (num % 5-0) break; num-num - 2; System.out.printlnO; System.out.print(num + ;
Find the output with explanation please
5. int num 12; while (num 0) if (num % 5-0) break; num-num - 2; System.out.printlnO; System.out.print(num +" "; 6. Considering the statement: String str "Going to the amusement park"; What's the output of the following statements a. System.out.println(str.substring(13, 22)); b. System.out.println(str.indexOf(t)); c. System.out.println(str.toLowerCase0) d. System.out.println(str.replace(t, '*)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
