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 a method in java?

1051


What is meant by nested loop?

1037


Name some classes present in java.util.regex package.

1031


Is it possible to override private or static method in java?

996


What is method reference?

980


How to write custom exception in java?

1057


Name few java util classes introduced with java 8 ?

917


What is the base class of all classes?

1059


How does multithreading take place on a computer with a single cpu in java programming?

1015


Explain creating threads by extending thread class ?

1055


What is a dynamic array in java?

1181


What is the final method?

1073


What is difference between add() and addelement() in vector?

1535


Why do we use variables?

992


What is complexity in java?

1048