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

What is the private method modifier?

1091


Can you use abstract and final both with a method?

1095


Can constructor be synchronized?

941


Why deletion in linkedlist is fast than arraylist?

1104


Can we serialize singleton class?

1042


What loop means?

956


What are strings in physics?

1016


What is difference between static variable and global variable?

1065


Which is better 64 bit or 32 bit?

944


what is optional in java 8?

1062


How is final different from finally and finalize?

927


Which variables are stored in heap?

1033


why Interface used?

989


What is the file extension for java?

1074


What is the static variable?

1122