From f6b907aace3351afb53639115d2ffdd9ac2dfad9 Mon Sep 17 00:00:00 2001 From: fdai7487 Date: Fri, 10 Feb 2023 10:47:02 +0100 Subject: [PATCH] refactoring: Logic is outsourced to the method --- src/digital/technik/DigitalTechnik10.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/digital/technik/DigitalTechnik10.java b/src/digital/technik/DigitalTechnik10.java index 2063038..307e678 100644 --- a/src/digital/technik/DigitalTechnik10.java +++ b/src/digital/technik/DigitalTechnik10.java @@ -3,8 +3,10 @@ package digital.technik; import java.util.Scanner; public class DigitalTechnik10 { + public DigitalTechnik10() { + } - public static void main(String[] args) { + void start() { Scanner sc = new Scanner(System.in);