1.1-Introductie-Programmeren

Reversing a string

Difficulty: Filled Filled Outlined

Create a reverseString method that allows you to reverse the characters inside a String. You should use the helper methods of the String class (especially look at the charAt method).

To help you out, we have included some code that helps you test your solution.

Example

Example

Example