Java tutorial
import java.io.File; public class Main { public static void main(String[] args) { File aFile = new File("c:/", "abc.txt"); System.out.println(aFile.isAbsolute());//false } }