From 12937f0df28d80c2d1a6cd83bc86ac63e1b43cbc Mon Sep 17 00:00:00 2001 From: Patricia Date: Sat, 8 Apr 2023 22:42:05 +0800 Subject: [PATCH] Fix typo --- data/part-6/1-objects-within-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-6/1-objects-within-objects.md b/data/part-6/1-objects-within-objects.md index 253fb8254..4126a0c43 100644 --- a/data/part-6/1-objects-within-objects.md +++ b/data/part-6/1-objects-within-objects.md @@ -2110,7 +2110,7 @@ public class Main { ```java public class Main { public static void main(String[] args) { - Item book = new Item("The lord of the rings", 2); + Item book = new Item("Lord of the rings", 2); Item phone = new Item("Nokia 3210", 1); System.out.println("The book's name: " + book.getName());