To print quotation marks in Java, prefix them with a backslash:
System.out.println("\"").For example, this is how you can print "Hello" "World!":
System.out.println("\"Hello\" \"World!\"");

System.out.println("\"").For example, this is how you can print "Hello" "World!":
System.out.println("\"Hello\" \"World!\"");