Frage im Vorstellungsgespräch bei Oracle

Was asked to write a Java program that reverse words in a string without using any String default functions