write a program to display a string in reverse order.
SNOWEATER:
Can it be in any language or...?
Answers
Answered by
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)
For Example:
if you store your string in a variable hi
then,
new StringBuilder("hi").reverse().toString() (will do the work)
Similar questions
Computer Science,
8 months ago
English,
8 months ago
Math,
1 year ago
Math,
1 year ago
Chemistry,
1 year ago