How to convert ArrayList to String[] in java, Arraylist contains VO objects

Viewed 62004

Please help me to convert ArrayList to String[]. The ArrayList contains values of type Object(VO).

For example,

The problem is that I need to convert a country List to String Array, sort it and then put it in a list. However I am getting a ClassCastException.

6 Answers
Related