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...

can you program for reverse string?

Answer Posted / suswagata choudhury

public class Reverse {
public static void main(String args[]){

String s="SUSWAGATA";
StringBuffer sb=new StringBuffer(s);
System.out.println(sb.reverse());
}
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile data type?

947


What’s the difference between applets and standalone program?

976


What is this keyword in java?

982


What is the purpose of the finalize() method?

1174


What is polymorphism in java? What are the kinds of polymorphism?

1004


How can a gui component handle its own events?

1041


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1199


What are void pointers?

1218


How transient variable is different from volatile variable?

1015


Is an integer an object?

900


Can vector have duplicates in java?

884


What are user defined exceptions?

962


What does  mean in regex?

985


What is the use of put method?

887


Why do we need strings in java?

938