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