Files class methods in java code example
Example 1: file java class
//when creating a new File(path) the path
//will be from the src folder of the proj
File path = new File("world");
//this will give the path src/world
//also dont forget that // => /
Example 2: java file class
import java.io.File;