Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you reverse a string?

Answer Posted / palemraju

String str="how r u";
int length=str.length();
System.out.print("The reverse String is:");
while(len>0)
{
System.out.print(str.charAt(len-1));
len--;
}

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better singleton or static class?

1031


Name few java.lang classes introduced with java 8 ?

1054


How can constructor chaining be done by using the super keyword?

1141


Why is java called the platform independent programming language?

1067


What about member inner classes?

1167


Can an interface have a constructor?

1032


In a container there are 5 components. I want to display the all the components names, how will you do that one?

1086


What is difference between Heap and Stack Memory?

1108


Can we call thread start () twice?

1015


What are the differences between forwarding () method and sendredirect() methods?

1155


Difference between static synchronization vs. Instance synchronization?

1180


Can we have multiple catch block for a try block?

1074


What is arguments in java?

1060


Can a class have multiple constructors?

1137


What is string manipulation?

1070