Because in larger codes static methods are bad, when trying to trouble shoot code on an enterprise level. Besides I'd assume this method would be used inside a class without a main() lol.
So...
Type: Posts; User: hackthisred
Because in larger codes static methods are bad, when trying to trouble shoot code on an enterprise level. Besides I'd assume this method would be used inside a class without a main() lol.
So...
I'd recommend the following approach...:D
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class InputStuff {
private List<Integer> getUserInput()