Frage im Vorstellungsgespräch bei Digi International

How do you reverse a string? How do you create a class ?