请教,在List集合中怎么得到元素的索引值

如题所述

第1个回答  2017-12-11
ArrayList list = new ArrayList ();
list [index] 即为索引为index处的值,类型为object类型,需要强制转换下。本回答被提问者采纳
相似回答