I want to initialize a String in Java, but that string needs to include quotes; for example: \"ROM\". I tried doing:
\"ROM\"
String value = \" \"ROM\" \
suppose ROM is string variable which equals "strval" you can simply do
String value= " \" "+ROM+" \" ";
it will be stored as
value= " "strval" ";