How to Print Double Quotes in JAVA

how to print double quotes in java

public class Display {
public static void main(String[] args) {
String str=”GANGA:”+””RIVER””;
System.out.print(str);

}
}

Output:
GANGA:”RIVER”

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 37 = 46