Skip to content

Commit 7557761

Browse files
committed
Section 12 Inheritance
Signed-off-by: https://github.com/Someshdiwan <[email protected]>
1 parent a272127 commit 7557761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Section12Inheritance/src/thisVsSuper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Rectangle {
33
int breadth;
44

55
Rectangle(int length, int breadth) {
6-
this.length = length; // Fixed the typo
6+
this.length = length;
77
this.breadth = breadth;
88
}
99

0 commit comments

Comments
 (0)