refactor: renamed multiply to product

This commit is contained in:
2026-07-09 10:36:57 +03:30
parent d92176798c
commit 6dd9fcb551
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ public class ReportGenerator {
Calculator calc = new BasicCalculator();
int sum = calc.add(x, y);
int diff = calc.subtract(x, y);
int product = calc.multiply(x, y);
int product = calc.product(x, y);
int max = MathHelper.max(x, y);
System.out.println("Sum: " + sum + ", Diff: " + diff +
", Product: " + product + ", Max: " + max);