Aloha Technology interview question

Rotate an array and object oriented programming