Computer Science, asked by NairaRajpal, 1 year ago

write a program to display a string in reverse order.


SNOWEATER: Can it be in any language or...?
SNOWEATER: which language do you want it in?

Answers

Answered by SNOWEATER
1
If you store it in a variable you can reverse it by using the built-in function StringBuilder.

For Example:
if you store your string in a variable hi
then, 
new StringBuilder("hi").reverse().toString() (will do the work)
Similar questions