Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Manvityagi/PW-Skills-Java-Course-Codes
/ main
Method
main
Lecture 07_Loops/src/doWhile.java:2–8 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
1
public
class
doWhile {
2
public
static
void
main(String[] args) {
3
int
num = 1;
4
do{
5
System.out.println(num);
6
num++;
7
}
while
(num <= 10);
8
}
9
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected