Assignment #123 and Simple File Input

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Simple File Input
    ///File Name: Receipt.java
    ///Date Finished: 1/14/16
        
    import java.io.File;
    import java.util.Scanner;
    
    public class Input{
        public static void main ( String[] args ) throws Exception{
            Scanner fileIn = new Scanner(new File("name.txt"));
            
            String name1 = fileIn.next();
            String name2 = fileIn.next();
            
            System.out.println( "Your name is: " + name1 + " " + name2 );
        }
    }
                        
    

Picture of the output

123