Do statement is another Java's looping construct. It is Java's three repetitive control structures.
int k = 0;
do {
k = k + 1;
System.out. println(k);
}
while (k < 5);
Do statement is another Java's looping construct. It is Java's three repetitive control structures.
int k = 0;
do {
k = k + 1;
System.out. println(k);
}
while (k < 5);
本文标题:6.1 do statement
本文链接:https://www.haomeiwen.com/subject/zqfdbttx.html
网友评论