InputFileDeclared file = new InputFileDeclared("testing"); System.out.println(file.getWord()); System.out.println(file.getWord()); System.out.println(file.getWord());