import java.io.PrintWriter; import java.io.IOException; import java.io.File; import java.util.Scanner; public class Name{ public static void main(String[] args){ try{ Scanner reader = new Scanner(new File("name.txt")); String fName = reader.next(); String lName = reader.next(); System.out.println("Your name is... " + fName + " " + lName); } catch(IOException e){ } } }