array, char array, and StringBuffer examples