Hi, A method returns a Stringarray. Could someone tell me how can i can get to the elements of this array, (since I don't know how many elements this array contains cannot write a for loop for this) Can I convert or cast this array into some sort of a collection(Vector or ArrayList f.e.) so that i can use the methods .size() or .iterator()? thanks, Peter
if you want to convert in to collection then you have populate the value of array to collection element. Example create a ArrayList and populate each value of the array to ArrayList object and from ArrayList you can get collection. -arun
You can simply use the Arrays.asList(Object) method.
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