Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Hazrat-Ali9/Computer-Programming
/ isDigit
Method
isDigit
Problem11.java:46–52 ·
view source on GitHub ↗
(char m)
Source
from the content-addressed store, hash-verified
44
}
45
46
static
boolean isDigit(char m) {
47
if
(m >= 48 && m <= 57) {
48
return
true;
49
}
else
{
50
return
false;
51
}
52
}
53
54
static
boolean isValid(String s) {
55
boolean res = true;
Callers
2
main
Method · 0.95
isValid
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected