可以用List中的indexOf()方法取得该元素的数组位置.Arraylist是继承自List的,也有这个方法.另外建议类似问题可以先查一下SDK文档,上面说明的还是比较清楚的,效率也比直接问问题高些.abstract int indexOf(Object object)Searches this List for the specified object and returns the index of the first occurrence.