TerraBlue XT interview question

Print a string in reverse order in java?