IT Journey - 1
Wednesday, 11 December 2013
Java: Input File Processing - hardcoded
String filename="C:\\Users\\Karen\\Documents\\record.txt";
File file = new File(filename);
Scanner keyboard = new Scanner(file);
/**Don't forget to import java.util.*; for the scanner to work.**/
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment