From ae9736cc0c63929729c8ffb72ff085e6ba7bccb0 Mon Sep 17 00:00:00 2001
From: Juuso Rytilahti <juuso.b.rytilahti@utu.fi>
Date: Wed, 19 Jun 2024 11:12:06 +0000
Subject: [PATCH] Update Part 3.1 - Inheritance.md

---
 Part 3.1 - Inheritance.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Part 3.1 - Inheritance.md b/Part 3.1 - Inheritance.md
index d409334..f87b89a 100644
--- a/Part 3.1 - Inheritance.md	
+++ b/Part 3.1 - Inheritance.md	
@@ -81,13 +81,13 @@ interface Action {
     void do();
 }
 
-class Ask extends Action {
+class Ask implements Action {
     @Override void do() {
         new Scanner(System.in).next();
     }
 }
 
-class Print extends Action {
+class Print implements Action {
     @Override void do() {
         System.out.println("Hello");
     }
-- 
GitLab