Search:

Type: Posts; User: veeer

Search: Search took 0.07 seconds.

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

    Static methods are bad? So Math.sin is bad, eh? I understand what you're trying to say, but this is clearly not enterprise scale... you appear to have to some degree a naive understanding of unit...
  2. [SOLVED] Re: reading a stream of numbers from standard input

    Really? Your approach would be to make a dedicated instance method to invoke on an object that has no real purpose? You'd manually read a token using scanner.next() and *then* parse it as an integer?...
  3. [SOLVED] Re: reading a stream of numbers from standard input

    read() returns a character, not a parsed integer... read() will return, in order: '1' (49), '0' (48), ' ' (32), '3' (51), ' ' (32), '4' (52), ' ' (32), '9' (57), '9' (57), ' ' (32), '-' (45), '1'...
Results 1 to 3 of 3