Hi,
i want to resize a array-How?
// current array
char[] array = new char[] { "a", "b", "c" };
// adding "d"
char[] temp = array;
array = new char[temp.length+1];
int i=0;
for (;i<temp.length; i++) array[i] = temp[i];
temp[i] = "d";// import
import java.util.ArrayList;
// creating an ArrayList and adding to it
ArrayList<Character> arrayList = new ArrayList<Character>();
arrayList.add('a');
arrayList.add('b');