gruppe06-hufflepuff-projekt.../src/TextInput.java

15 lines
289 B
Java
Raw Normal View History

import java.util.Scanner;
public class TextInput {
private static final Scanner sc = new Scanner(System.in);
public static String[] checkForInput() {
return sc.nextLine().split(" ");
}
public static String getTextInput() {
return sc.nextLine();
}
}