

public class TestChar
{
	public static void main(String argv[])
	{
		char [] charArray = new char [20];
		charArray[0] = 't';
		charArray[1] = 'e';
		charArray[2] = 's';
		charArray[3] = 't';
		String str = new String(charArray);
		System.out.println(str);
		charArray[2] = 0;
		String str2 = new String(charArray);
		System.out.println(str + str2);
		for (int i=0; i<7; i++)
		{
			System.out.println(charArray[i]);
			System.out.println((int) charArray[i]);
		}
		
	}
}