Monday, December 31, 2018

public class StringReverse {
public static void main(String[] args) {
String str="selenium",reverse="";
for(int i=str.length()-1;i>=0;i--) {
reverse=reverse+str.charAt(i);
}
System.out.println(reverse);
}
}
Output: muineles

0 comments:

Post a Comment

selenium-repo by venu

Blog helps to a student or IT employee to develop or improve skills in Software Testing.
For Online Classes Email us: gadiparthi122@mail.com

Followers

About Me

My photo
Hyderabad, Andhra Pradesh, India
I am Automation Testing Professional. I have completed my graduation in B.Tech (Computers) from JNTU Hyderabad and started my career in Software Testing accidentally since then, I passionate on learning new technologies

Contact Form

Name

Email *

Message *

Popular Posts