Skip to content

Commit 00ae37d

Browse files
Merge pull request kunal-kushwaha#469 from soham-samanta/patch-2
updated PI spelling
2 parents 0e76131 + 8ec1710 commit 00ae37d

File tree

1 file changed

+1
-1
lines changed
  • lectures/17-oop/code/src/com/kunal/properties/polymorphism

1 file changed

+1
-1
lines changed

lectures/17-oop/code/src/com/kunal/properties/polymorphism/Circle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ public class Circle extends Shapes{
66
// hence it is overriding the parent method
77
@Override // this is called annotation
88
void area() {
9-
System.out.println("Area is pie * r * r");
9+
System.out.println("Area is pi * r * r");
1010
}
1111
}

0 commit comments

Comments
 (0)