There was an error while loading. Please reload this page.
1 parent eac2a83 commit e23d4f9Copy full SHA for e23d4f9
1 file changed
source/ch6_definingclasses.ptx
@@ -575,7 +575,7 @@ public String toString() {
575
Therefore once you write your own <c>equals</c> method:
576
</p>
577
578
- <listing xml:id="java-class-equalqqual">
+ <listing xml:id="java-class-equalequal">
579
<program language="java">
580
<code>
581
object1 == object2
@@ -639,7 +639,7 @@ public boolean equals(Fraction other) {
639
Here is code that makes the <c>Fraction</c> class a child of <c>Number</c>:
640
641
642
- <listing xml:id="pjava-extends">
+ <listing xml:id="java-class-extends">
643
644
645
public class Fraction extends Number {
0 commit comments