BlackBerry Interview Question

Write a program that reverses a string