I have an arraylist of String  , and I need to be able get one at a specific location.
How do I return a complete String  array from an arraylist?
Here is my code in 2 parts
// String array insertion code into array
And now in another method I am trying to retrieve that String  from the ArrayList. Can anyone tell me how to do this, or if not, another possible workaround?
Thanks in advance!
SCJD, SCBCD, SCJP
Joined: Jul 11, 2001
You need to cast the return value of the get method to String.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus