java file reading

admin

Administrator
Staff member
hi:I am new to java and i am having difficulties in opening and reading files.All I want to do is1. open a file "foo"2. file "foo" has two strings in each linefor example:bart 10.10.10.10homer 10.0.0.03. i want to read first string and compare with input value4. if it is equal then i want to read and return next valueplease help meThanks:-)
 
Back
Top