Boeing interview question

basics of java string and arrays programs