
Here is a question about converting ArrayList to an array. We can do this using two simple methods in the java.util.ArrayList. These methods return the Object[] which can be typecasted. Here are two programs that illustrate two methods separately for a better understand. These are provided with explanation and analysis for help. Not only this you'll learn a lot of things in this post (bonus!)