Programming/오늘의 공부

Object java.util.ArrayList.get(int index)

커널제로 2011. 5. 3. 10:16
Object java.util.ArrayList.get(int index)

Returns the element at the specified position in this list. 
매개변수:
index index of the element to return
리턴:
the element at the specified position in this list
처리:
IndexOutOfBoundsException
/*
DB에서 레코드를 가져올때 .get(i)를 써서 for문 돌려서 출력할때 쓴다.
 */