If you have an array of characters, write a method to reverse the string.
Réponses aux questions d'entretien
Utilisateur anonyme
11 mai 2011
You can do this with Stringbuffer as well.
Utilisateur anonyme
4 févr. 2011
I have known this question and the answer is can do it recursively. It's hard to explain this over the phone in words. He didn't really like it and said to use pointers to go to midway and do a swap. I think it's a matter of preference.