1 回答

曾经的曾经去哪了
TA贡献8条经验 获得超15个赞
String... 其实和String类型 int类型相似,只不过唯一不同的也就是唯一的好处就是你可以传无限个参数也可以不传参数。在sql语句的“添加”,“删除”起到了无法代替的作用,这个东西你只要会用了,你一定会爱不释手的。

0620
TA贡献1条经验 获得超1个赞
名称为strs[0]的字段,它的类型是char或者varchar,所以会用单引号包起来,执行效果比如 delete from info_tb where name = 'Jack'

Jenny_xiong
TA贡献16条经验 获得超7个赞
这是字符串的拼接,你得找对哪两个是一对,就很好理解了,
如上图:
1,2是一对,
3,4是一对,
5,6是一对,
7,8是一对
5,6使用'而不是"是因为一旦使用",3,5就是一对,后面的字符串拼接就出错了,也不是我们想要的效果,这主要考察的还是字符串的拼接


慕UI8334873
TA贡献1条经验 获得超0个赞
添加回答
举报
0/150
提交
取消