Skip to content

Commit 24ae862

Browse files
authored
Update 2.java
1 parent 9521364 commit 24ae862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

6/2.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ public static void main(String[] args) {
66

77
int[] arr = {3, 5};
88

9-
// 스와프
9+
// 스와프(Swap)
1010
int temp = arr[0];
1111
arr[0] = arr[1];
1212
arr[1] = temp;
1313

1414
System.out.println(arr[0] + " " + arr[1]);
1515
}
1616

17-
}
17+
}

0 commit comments

Comments
 (0)