Tavant interview question

1st round:- Q)Armstrong number. Q)reverse String. Q)create a Singleton class