Skip to content

Commit 6f9e628

Browse files
authored
Merge pull request #325 from habibasorour/issue_317_comments
Issue 317 fixed: add comments to 6.7
2 parents 43d04f8 + e2d3dbe commit 6f9e628

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
@@ -909,7 +909,7 @@ public class Student {
909909
<listing xml:id="java-gcd-helper-method">
910910
<program interactive="activecode" language="java">
911911
<code>
912-
private static Integer gcd(Integer m, Integer n) {
912+
private static Integer gcd(Integer m, Integer n) { // static method to compute the greatest common divisor of two integers
913913
while (m % n != 0) {
914914
Integer oldm = m;
915915
Integer oldn = n;

0 commit comments

Comments
 (0)