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
What is volatile data type?
What’s the difference between applets and standalone program?
What is this keyword in java?
What is the purpose of the finalize() method?
What is polymorphism in java? What are the kinds of polymorphism?
How can a gui component handle its own events?
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?
What are void pointers?
How transient variable is different from volatile variable?
Is an integer an object?
Can vector have duplicates in java?
What are user defined exceptions?
What does mean in regex?
What is the use of put method?
Why do we need strings in java?