给一个字符串变量加双引号

   String str = "字符串";
   str = "\"" +str+ "\"";
   System.out.println(str);

输出的结果为:

"字符串"