Java File Paths - Relative Path vs. Absolute Path - Input and Ouput Files - APPFICIAL. If you don’t specify a file path, the files get written to the relative path. That is the current working directory.
The absolute path is the full path to the location of the file. You should use the / character as the path separator
Tags: Java File Paths - Relative Path vs. Absolute Path - Input and Ouput Files - APPFICIAL, appficial, java, relative path, absolute path, java file paths, file paths, java files, file io, file input, file output, java input and output, java text files, text files, writing a text file, writing a file, reading a file, printwriter, fileinputstream, fileoutputstream, scanner, printwriter class, file separator, windows vs mac, directory, java directory, file directory, java tutorial, java lesson, java example, relative path example, absolute path example