Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compiler-explorer/compiler-explorer
/ square
Method
square
test/java/two-classes/input.java:8–10 ·
view source on GitHub ↗
(int num)
Source
from the content-addressed store, hash-verified
6
7
class
ASecondClass {
8
static
int
square(
int
num) {
9
return
num * num;
10
}
11
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected