Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5ab82c2

Browse files
author
İSMAİL TAŞDELEN
committed
master
1 parent 5c383c7 commit 5ab82c2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@
4545
/app/Java_Project_58/build/
4646
/app/Java_Project_59/nbproject/private/
4747
/app/Java_Project_59/build/
48-
/app/Java_Project_60/nbproject/private/
48+
/app/Java_Project_60/nbproject/private/
49+
/app/Java_Project_60/build/

app/Java_Project_60/src/java_project_60/Java_Project_60.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ public class Java_Project_60 {
1414
/**
1515
* @param args the command line arguments
1616
*/
17+
public static int topla()
18+
{
19+
int x=5, y=7;
20+
int toplam = x + y;
21+
return toplam;
22+
}
1723
public static void main(String[] args) {
1824
// TODO code application logic here
25+
System.out.println(topla());
1926
}
2027

2128
}

0 commit comments

Comments
 (0)