From a0f71fb0cb75ca0d8bfe1e7a07aaa3e119581622 Mon Sep 17 00:00:00 2001 From: fdai7487 Date: Fri, 10 Feb 2023 10:46:41 +0100 Subject: [PATCH] refactoring: Logic is outsourced to the method --- src/digital/technik/DigitalTechnik9.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/digital/technik/DigitalTechnik9.java b/src/digital/technik/DigitalTechnik9.java index 1f484bf..5a6a35e 100644 --- a/src/digital/technik/DigitalTechnik9.java +++ b/src/digital/technik/DigitalTechnik9.java @@ -4,7 +4,10 @@ import java.util.Scanner; public class DigitalTechnik9 { - public static void main(String[] args) { + public DigitalTechnik9() { + } + + void start() { Scanner sc = new Scanner(System.in);