java双引号中嵌入变量

原文:https://blog.csdn.net/a873054267/article/details/78419166


s1="\""+rs.getString(1)+"\"";

在s1嵌入其它字符串中时,用+将两边连起来

:"+"\""+rs.getString(1)+"\""+",


猜你喜欢

转载自blog.csdn.net/guaidaojx/article/details/79787920
今日推荐