1

I need help trying to convert an arraylist to an array. I am having trouble doing so, If anyone can show me where to implement the (.toarray) piece of code.

public class BFFHelper 
{
ArrayList<BestFriends> myBFFs;
Scanner keyboard = new Scanner(System.in);

public BFFHelper()
{
    myBFFs = new ArrayList<BestFriends>();
}

0 Answers0