In this section, you will learn to convert an Array to List.
This program helps you in converting an Array to List. Here we have taken an array of data which gets converted to List using Array.asList mathod. We have also used collection.sort method to get the data in sorted order.
Output of the program:
Posted on: August 6, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles