From 8a60d6bc637e0c5413694f2e38abb99801d42d67 Mon Sep 17 00:00:00 2001 From: fdai7487 Date: Fri, 10 Feb 2023 10:33:57 +0100 Subject: [PATCH] refactoring: Logic is outsourced to the method --- src/digital/technik/DigitalTechnik6.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/digital/technik/DigitalTechnik6.java b/src/digital/technik/DigitalTechnik6.java index 4b08404..0bca319 100644 --- a/src/digital/technik/DigitalTechnik6.java +++ b/src/digital/technik/DigitalTechnik6.java @@ -4,7 +4,10 @@ import java.util.Scanner; public class DigitalTechnik6 { - public static void main(String[] args) { + public DigitalTechnik6() { + } + + void start() { Scanner sc = new Scanner(System.in);