I want to print: "Java" including the "" but when I use System.out.println(""Java"") it does not recognise it. Can anyone guide me how can I achieve it?
>Solution :
you can directly escape the "
public class Test {
public static void main(String[] args) {
System.out.println("\"java\"");
}
}