+ 3
how can l reverse the output of below code?
11 Answers
+ 4
l got it thank you so so much.
+ 3
Rithea Sreng I did it but just a part of string will be reverse.
+ 3
yes
+ 3
I'am new I don't get what you saying.
+ 2
for(int i=output.length -1;i>=0;i--){
System.out.print(output[i]);
}
Just simply add this code.
You can use predefined method
stringName.reverse()
+ 2
String has not reverse method() but StringBuffer and StringBuilder has it
0
do not close standard input stream