From f6db2703ae13c4b0b4443b932c1757d993b1adb8 Mon Sep 17 00:00:00 2001 From: YEOWEIHNGWHYELAB Date: Fri, 27 Aug 2021 22:44:38 +0800 Subject: [PATCH] extract method and update --- src/main/java/Contacts0.java | 2 +- src/main/java/Contacts1.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/Contacts0.java b/src/main/java/Contacts0.java index 212842f..0af7191 100644 --- a/src/main/java/Contacts0.java +++ b/src/main/java/Contacts0.java @@ -1,6 +1,6 @@ import java.util.Scanner; - +// Messy public class Contacts0 { public static void main(String[] args) { diff --git a/src/main/java/Contacts1.java b/src/main/java/Contacts1.java index 4f2d805..0e6a0e8 100644 --- a/src/main/java/Contacts1.java +++ b/src/main/java/Contacts1.java @@ -1,6 +1,6 @@ import java.util.Scanner; - +// Less Messy but not OOP! /** * This class is used to maintain a list of person data which are saved * in a text file.