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

Write a program in java to create a doubly linked list containing n nodes.

643


How much ram can a 64 bit processor theoretically?

555


What the difference is between execute, execute Query, execute Update?

450


What is the function of character?

630


What is arraylist e in java?

604






Where we write javascript code in html page?

648


What is the default execution method in java?

718


What are measurable parameters?

674


What does jenkins do?

569


What is toarray method in java?

649


Why is stringbuffer faster than string?

584


Why do we need wrapper class?

631


What is general methodology?

655


how to convert Java project into Maven ?

665


Explain restrictions on using enum?

728