Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions BE/Calculator.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
public class Calculator {
public static void main(String[] args) {
int foo = 5;
int bar = 3;
int result = add(foo, bar);
public static void main(String[] args) {
int foo = 1;
int bar = Integer.MAX_VALUE - 1;
int result = add(foo, bar);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tab이 왜이렇게 긴가여


System.out.println("합계: " + result);
}
System.out.println("합계: " + result);
}
Comment on lines +7 to +8
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

재미있는 코드네요


private static int add(int a, int b) {
return a + b;
}
private static int add(int a, int b) {
return a + b;
}
}