value - What is the result of executing the statements below? -
i need figuring result of these statements. can assume file "input.txt" readable , contains "hello" on first line.
scanner fileinput = new scanner(newfile("input.txt")); string s = fileinput.nextline(); i believe s have value "hello" or "input.txt" i'm not sure, new java appreciated. thanks.
Comments
Post a Comment