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