> Initialising ArrayList with user inputted values?

Initialising ArrayList with user inputted values?

Posted at: 2014-12-18 
"What do you make of Ventus?"

private ArrayList test;

public test(String name, ArrayList something) //not done

{

testName = name;

test = new ArrayList();

for (int i = 0; i < test.size(); i++)

{

test.add(something);

}

}

But it keeps giving me error message on the last line, no suitable method found for add