JPMorganChase interview question

How to create a character array