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 1803 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?

Updated on 08-Oct-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By