From 114bc00e8bbebf955cea92a341c72c8a2c673fce Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Mon, 14 Apr 2025 19:29:18 -0400 Subject: [PATCH] re-formatting the diamond --- lectures/26_inheritance_II/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lectures/26_inheritance_II/README.md b/lectures/26_inheritance_II/README.md index d94fbe1..77b6e0a 100644 --- a/lectures/26_inheritance_II/README.md +++ b/lectures/26_inheritance_II/README.md @@ -14,7 +14,13 @@ - The Diamond Problem occurs in multiple inheritance when two classes inherit from the same base class, and a fourth class inherits from both of those. -
 \`\`\` Human / \ Student Worker \ / CSStudent \`\`\` 
+``` + Human + / \ + Student Worker + \ / + CSStudent +``` - Both Student and Worker inherit from Human.