For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
String main = "penut"; System.out.print(main); String reverse = ""; for (int i=0; i<=main.length(); i++) { //reverse }