7 Answers
+ 4
l got it thank you so so much.
12th Jun 2020, 3:47 PM
hamid
hamid - avatar
+ 3
Rithea Sreng I did it but just a part of string will be reverse.
12th Jun 2020, 2:31 PM
hamid
hamid - avatar
+ 3
yes
12th Jun 2020, 2:37 PM
hamid
hamid - avatar
+ 3
I'am new I don't get what you saying.
12th Jun 2020, 3:10 PM
hamid
hamid - avatar
+ 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()
12th Jun 2020, 11:26 PM
Jefferson Jadoc
Jefferson Jadoc - avatar
+ 2
String has not reverse method() but StringBuffer and StringBuilder has it
13th Jun 2020, 6:16 AM
zemiak
0
do not close standard input stream
12th Jun 2020, 6:55 PM
zemiak