ArrayList to Array

How will you convert an ArrayList to an Array?

Questions by neemtree

Showing Answers 1 - 1 of 1 Answers

inthiyaj

  • May 19th, 2009
 

In ArrayList we have toArray() method which returns Object[]. by using this we can convert arrayList to Array. In the same way In Array we have asList(T... a) to convert Array to List.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions