MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / square

Method square

test/android/java/input.java:3–5  ·  view source on GitHub ↗
(int num)

Source from the content-addressed store, hash-verified

1// Type your code here, or load an example.
2class Square {
3 static int square(int num) {
4 return num * num;
5 }
6}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected