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