From 590a5baa88a7d688ae0e73dae558f4a3763aa7e4 Mon Sep 17 00:00:00 2001 From: Rohit Date: Thu, 31 Oct 2024 16:23:16 +0530 Subject: [PATCH] Update 1-learning-object-oriented-programming.md fixed the miscalculation in the surface area output for the rectangle class example. Before, it was 3920 (for width 39 & 80 height). the correct surface area calculation is 39*80 = 3120. --- data/part-5/1-learning-object-oriented-programming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-5/1-learning-object-oriented-programming.md b/data/part-5/1-learning-object-oriented-programming.md index 175486394..0e727c895 100644 --- a/data/part-5/1-learning-object-oriented-programming.md +++ b/data/part-5/1-learning-object-oriented-programming.md @@ -715,7 +715,7 @@ System.out.println(first.surfaceArea()); (40, 80) (10, 10) (39, 80) -3920 +3120