Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DuGuQiuBai/Java
/ sum
Method
sum
day10/code/03_包/Demo.java:4–6 ·
view source on GitHub ↗
(int a,int b)
Source
from the content-addressed store, hash-verified
2
3
public
class
Demo {
4
public
int
sum(
int
a,
int
b) {
5
return
a + b;
6
}
7
}
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
1
main
Method · 0.76