Check out example codes for "java file path linux". It will help you in understanding the concepts better.

Code Example 1

Scanner s = new Scanner(new File("/home/me/java/ex.txt"));

Learn ReactJs, React Native from akashmittal.com