Users Pricing

forum

home / developersection / forums / best way to convert a collection into an array in java

Best way to convert a collection into an array in java

Anonymous User 2174 08 Oct 2015
I am trying to convert ArrayList into integer array, but its throwing CTE, Is it possible to convert directly a collection into an array i.e. is there any  build-in utility class or method for doing this thing only?

I am a content writter !


1 Answers