How to enter quotes in a Java string?

In Java, you can escape quotes with \:

String value = " \"ROM\" ";

Leave a Comment