I am little bit new in java. I have java source in workspace /src.I created a directory /data in the same project.It means /project/src and /project/data are two directory. I would like to put same directory rather than long absolute path. How would i do it?
BufferedReader buffR1 = new BufferedReader(new FileReader(new File("../data/rural.train.txt")));
I did like this. But this is not working. I am finding file not found exception.