问题:[问答题]
第1处:lstList.getselectedIndex()+1第2处:lstList.getSelectedItem()==null第3处:lstList.remove(lstList.getSelectedIndex())
● 参考解析
第1处是从当前所选列表项向后移一位;第2处是表示当前未选中表项即为null;第3处是清除所选项目的索引。
推荐题目
相关标签