热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_38722086
YUE-school
7 年前
trueweixin_38722086

计算机类专业毕业设计(课程设计)题目大全

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
template.queryForObject(sql,Integer.class,cid);,其中使用Integer.class,而不是int.class,是因为要得到的是一个对象,(一个引用数据类型),而int.class和Integer.class是不同的,而在反射中,如method.invoke(object,int.class),使用int.class,因为它代表的是int类型参数的class对象
立即登录