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

Explain the difference between arraylist and linkedlist in java?

1027


What is boolean false?

1026


Explain a few methods of overloading best practices in java?

1022


What is size of int in java?

1102


What is string example?

1114


Explain how to convert any java object into byte array.

1014


Which package has light weight components?

1045


Does a function need a return?

1010


What do you mean by byte code?

1049


Can we sort hashset in java?

1133


What is nested class?

1054


What are the 2 types of java programs?

1158


What is a heavyweight component?

1072


What is <> used for in java?

1170


How objects are stored in java?

1091