9
answers
0
watching
36
views
25 Oct 2019
Write the number of iteration for the following code:
class MyClass{
public static void main(String args[]){
int i=10;
do{
System.out.println(“Welcome to java...”);
i--;
}while(i>11);
}}
What will be the result if it is done with the for loop?
Write the number of iteration for the following code:
class MyClass{
public static void main(String args[]){
int i=10;
do{
System.out.println(“Welcome to java...”);
i--;
}while(i>11);
}}
What will be the result if it is done with the for loop?
chainLv10
28 Aug 2023
Unlock all answers
Get 1 free homework help answer.
Already have an account? Log in
OC4218648Lv10
4 Feb 2023
Get unlimited access
Already have an account? Log in
20 Jan 2023
Get unlimited access
Already have an account? Log in
viclere2005Lv10
17 Dec 2022
Get unlimited access
Already have an account? Log in
vickkyjayLv10
25 Oct 2022
Get unlimited access
Already have an account? Log in
eyuLv10
24 Sep 2022
Get unlimited access
Already have an account? Log in
OC4149121Lv10
3 May 2022
Get unlimited access
Already have an account? Log in
yoru5Lv10
30 Apr 2022
Get unlimited access
Already have an account? Log in
Hubert KochLv2
25 Oct 2019
Get unlimited access
Already have an account? Log in