Advertisement
tjb1

Untitled

Nov 23rd, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3.  
  4. public class prob14tester {
  5.  
  6. /**
  7. * @param args
  8. */
  9. public static void main(String[] args) {
  10. // TODO Auto-generated method stub
  11. Scanner input = new Scanner(System.in);
  12. Chap5prob14_fileDISPLAY fdt;
  13. System.out.println("Please enter filename:");
  14. String filename = input.next();
  15.  
  16. fdt = new Chap5prob14_fileDISPLAY(filename);
  17.  
  18.  
  19. fdt.displayHead();
  20. System.out.println(fdt.displayHead());
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement