/// Name: Holden Ganch /// Period: 7 /// Program Name: Fourty first Program /// File Name: Using.java /// Date Finished: 11/3/2015 import java.io.File; import java.util.Scanner; public class Simple { public static void main(String [] args) throws Exception { String name1, name2; Scanner fileIn = new Scanner(new File("name.txt")); name1 = fileIn.next(); name2 = fileIn.next(); System.out.println("Your name is " + name1 + " " + name2); } }