Skip to content

Commit 6babe23

Browse files
committed
added sum method
1 parent b591985 commit 6babe23

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

aaa/check.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class check {
2+
int x=5;
3+
int y=10;
4+
5+
public int sum(){
6+
return x+y;
7+
}
8+
}

0 commit comments

Comments
 (0)