escape double quotes in java code example Example: java print Apostrophes System.out.print("\"Hello\"");