Search:

Type: Posts; User: hackthisred

Search: Search took 0.06 seconds.

  1. [SOLVED] Re: reading a stream of numbers from standard input

    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...
  2. [SOLVED] Re: reading a stream of numbers from standard input

    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()
Results 1 to 2 of 2