From a770a180a84ae71e8914d9d20d12f7d0d6ff50da Mon Sep 17 00:00:00 2001 From: fdai7487 Date: Fri, 10 Feb 2023 10:47:12 +0100 Subject: [PATCH] refactoring: Logic is outsourced to the method --- src/digital/technik/DigitalTechnik11.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/digital/technik/DigitalTechnik11.java b/src/digital/technik/DigitalTechnik11.java index 5582b03..2015b6c 100644 --- a/src/digital/technik/DigitalTechnik11.java +++ b/src/digital/technik/DigitalTechnik11.java @@ -3,8 +3,10 @@ package digital.technik; import java.util.Scanner; public class DigitalTechnik11 { + public DigitalTechnik11() { + } - public static void main(String[] args) { + void start() { Scanner sc = new Scanner(System.in);