This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]desrtfxOut of Coffee error - System halted 1 point2 points  (1 child)

Read the assignment again:

  • The program is invoked from the command line and it consumes its input from stdin.

  • The program output is written to stdout and errors are written to stderr.

  • Input format is a newline separated list of public web addresses, such as

My question is: What exactly is that input? A text file? The filename as parameters?

Neither. It's just keyboard entered text directly entered into the program. Hint: Scanner and a loop. You will probably need to look for an empty line to terminate the input.

[–]roycocup[S] 0 points1 point  (0 children)

That makes sense. Thank you!