public static String[] convertObjectArrayToStringArray(Object[] objArray) {
	int len = objArray.length;
	String[] strArray = new String[len];
	System.arraycopy(objArray, 0, strArray, 0, len);
	return strArray;
}


Back to JavaHowTo

Alumni Liaison

Recent Math PhD now doing a post-doctorate at UC Riverside.

Kuei-Nuan Lin