import java.io.*; import java.util.*; /* Jessica Miller, CSE 142 This program reads the first two tokens from an input file */ public class ReadFile { public static void main(String[] args) throws FileNotFoundException { File f = new File("data.txt"); Scanner input = new Scanner(f); System.out.println("First token: " + input.next()); System.out.println("Second token: " + input.next()); } }