package code;

import java.util.ArrayList;
import java.util.Scanner;


public class ReadText {
	
	ArrayList<String> _map = new ArrayList<String>();
	
	public ReadText(){
		Scanner sc = new Scanner("//part2//src//code//util//words");
		
		while(sc.hasNext()){
			String s = sc.next();
			_map.add(s);
		}
	}

	
	public void access(int index){
		System.out.println(_map.get(index));
	}
}

@@ -175,69 +175,78 @@
 t()%7B
-%0A%09%09Scanner sc = new Scanner(%22//part2//src//code//util//words%22
+%0D%0A%09%09String fileName = %22words.txt%22;%0A%09%09Scanner sc = new Scanner(fileName
 );%0D%0A

Remove path