Skip to content

Commit e2d3dbe

Browse files
committed
add comments
1 parent 1e73df0 commit e2d3dbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/ch6_definingclasses.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ public class Student {
905905

906906
<program xml:id="java-gcd" language="java">
907907
<code>
908-
private static Integer gcd(Integer m, Integer n) {
908+
private static Integer gcd(Integer m, Integer n) { // static method to compute the greatest common divisor of two integers
909909
while (m % n != 0) {
910910
Integer oldm = m;
911911
Integer oldn = n;

0 commit comments

Comments
 (0)