Intended to be cloned down as an eclipse workspace, then open the projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
1003 B

package uwstout.courses.cs144.labs.lab2;
/**
* This outputs a message that tests your ability to escape strings.
*
* @author Brett Bender
* @version 2022.09.20
*
*/
public class MessageOutput {
/**
* This outputs a message that tests your ability to escape strings.
*
* @param args The command line arguments (not used)
*/
public static void main(String[] args) {
System.out.println("\tIn Windows, putting the path to a file into the code is a little");
System.out.println("difficult as each \"\\\" in the path must be escaped. So, if your");
System.out.println("file is located at C:\\temp\\data.csv, then you would need to");
System.out.println("escape it so that it looks like C:\\\\temp\\\\data.csv. It is also");
System.out.println("good practice to put \"'s around the path. This avoids problems");
System.out.println("with spaces in the file name or the path. The \"'s would have");
System.out.println("to be escaped as well.");
}
}