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