Use ArrayList

Now using arraylist