Vivotech interview question

reverse word order in a string and some basic java questions, programming on the computer directly