aspose file tools
The moose likes Java in General and the fly likes Array and ArrayLists Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Array and ArrayLists" Watch "Array and ArrayLists" New topic
Author

Array and ArrayLists

Jay Kamdar
Greenhorn

Joined: Sep 02, 2005
Posts: 22
i have this declaration
int[] tempArray = {1,3,5,7,9,11,13,15,17};
int[] otherArray, extraArray[];
ArrayList tempList = new ArrayList();
and ArrayList has integer values in it so i am trying to make extraArray the exact size of tempList.
Ken Blair
Ranch Hand

Joined: Jul 15, 2003
Posts: 1078


I recommend reviewing Creating and Using Arrays if you haven't already.
[ October 17, 2005: Message edited by: Ken Blair ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Array and ArrayLists
 
Similar Threads
Is ArrayList acting as a bottleneck?
selectManyListbox - IllegalArgumentException
ConcurrentModificationException
Arraylist
Java Generics HashMap