Skip to content

Commit c6e6c81

Browse files
Merge pull request #455 from AwanishKS/main
added sum method
2 parents 9665c7d + 6babe23 commit c6e6c81

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)