Browse Source

refactoring: Logic is outsourced to the method

remotes/origin/A.Morlang/gruppenprojekt
fdai7487 2 years ago
parent
commit
49a79d8fd4
  1. 5
      src/digital/technik/DigitalTechnik4.java

5
src/digital/technik/DigitalTechnik4.java

@ -4,7 +4,10 @@ import java.util.Scanner;
public class DigitalTechnik4 { public class DigitalTechnik4 {
public static void main(String[] args) {
public DigitalTechnik4() {
}
void start() {
Scanner sc = new Scanner(System.in); Scanner sc = new Scanner(System.in);
System.out.println("Willkommen"); System.out.println("Willkommen");

Loading…
Cancel
Save