public static void main(String[] args) {
		String strArrOrginal = "this is array";
		
		String listOrginal = "this is list";
		
		String arr[]=strArrOrginal.split("");
		Aggregate arrbox = new ArrayBox(arr);
		
		List<String> strList = Arrays.asList(listOrginal.split(""));
		Aggregate listbox = new ListBox(strList);
		
		Iterator it = arrbox.getIterator();
		
		while(it.hasNext()){
			System.out.println(it.next());
		}
		
		it = listbox.getIterator();
		
		while(it.hasNext()){
			System.out.println(it.next());
		}
	}