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 local variable and instance variable?

1065


What is difference between length and length() method in java ?

1006


What are the methods available in a class?

1093


What methodology can be utilized to link to a database?

978


Describe method overriding

1134


What data structures are used to perform recursion?

1066


What are the 3 types of loops in java?

1098


How can constructor chaining be done using this keyword?

1290


why not override thread to make a runnable? : Java thread

1013


Difference between == and .equals() ?

1013


What are streams in java 8?

1013


Can we return null in java?

1166


Which sorting algorithm is best in java?

1000


What is another word for methodology?

1024


Why super is first line in java?

1065