什么是 值传递,地址传递和引用传递 有什么

2024-11-06 08:09:21
推荐回答(1个)
回答(1):

Bars bar = new Bars();
bar.setId(rs.getLong("镇缺id"));
bar.setName(rs.getString("御悉辩name"));
bar.setType(rs.getInt("type"));
bar.setCreatorId(rs.getLong("creator_id"陆亏));
resultList.add(bar);
if (currentNum == skipEnd - 1)
break;
}