123

Code

 ///Name: Conner Wygaerts
///Period: 6
///Project Name: SimpleInput
///File Name: SimpleInput.java
///Date Finished: 5/25/16

    import java.io.File;
    import java.util.Scanner;
    
    public class SimpleInput {
    
        public static void main(String[] args) throws Exception {
        
            String name;
            
            Scanner fileIn = new Scanner(new File("name.txt"));
            
            name = fileIn.nextLine();
            
            fileIn.close();
            
            System.out.println("Your name is " + name + ".");
        }
    }
  

Picture of the output

YourInitials.html