I'm to create a program that reads files through the command-line
using a for loop to process each of the file
(ie. search for string "out" in given files)
using scanner methods such as hasNextline() and nextLine etc.
the only thing i am having trouble with is the for loop.
how would i do this?
thanks in advance.
using a for loop to process each of the file
(ie. search for string "out" in given files)
using scanner methods such as hasNextline() and nextLine etc.
the only thing i am having trouble with is the for loop.
how would i do this?
thanks in advance.
Comment