/// Name: DeeJay Cerezo
/// Period: 7
/// Program Name: Input
/// File Name: Input.java
/// Date Finished: 5/10/2016
import java.io.File;
import java.util.Scanner;
public class Input {
public static void main(String[] args) throws Exception {
String name;
System.out.print("I guess that your name is: ");
Scanner fileIn = new Scanner(new File("name.txt"));
name = fileIn.nextLine();
fileIn.close();
System.out.println(name);
}
}
Picture of the output