Can someone please tell me what"s going on?
o don't know why this code won't work, and the only "bug" I get is that the P in program is an illegal scape character... don't know what that means. Please help.
package com.codegym.task.task03.task0316;
/*
Escaping characters
*/
public class Solution {
public static void main(String[] args) {
//write your code here
String A = "C:\Program Files\Java\jdk1.8.0_172\bin";
String B = "C:\\Program Files\\Java\\jdk1.8.0_172\\bin\";
System.out.println("This is a Windows path: " + A);
System.out.println("This is a Java string: \" + B);
}
}