I need to write a help program, but I need to use phrases like, and type a "Cabinet" ... and I can not use the "" in print, because they close the box and open another, as it does to solve that? Thank you
I need to write a help program, but I need to use phrases like, and type a "Cabinet" ... and I can not use the "" in print, because they close the box and open another, as it does to solve that? Thank you
So:
System.out.println("\"Armário\"");
The backslash (reserved char) overrides the special characters after it and considers it as a normal char