forum

home / developersection / forums / converting from <datatype1>[] to <datatype2>[]

Converting from <Datatype1>[] to <Datatype2>[]

Anonymous User 1919 09-Jul-2015
Is it possible to convert from a list of datatypes without going through the trouble of looping through the entire list.

I.e:b = {"1", "2"}; 
Integer[] a = (Integer[]) b; //not actually runnable

Not really necessary, but it would be nice.

Updated on 09-Jul-2015

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By