its String d = "This is a Windows path: \"C:\\Progam Files\\Java\\jdk1.8.0_172\\bin\""; String a ="This is a Java string: \"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_172\\\\bin\\\""; System.out.println(d); System.out.print(a); } } not the code down below