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 a method in java?
What is meant by nested loop?
Name some classes present in java.util.regex package.
Is it possible to override private or static method in java?
What is method reference?
How to write custom exception in java?
Name few java util classes introduced with java 8 ?
What is the base class of all classes?
How does multithreading take place on a computer with a single cpu in java programming?
Explain creating threads by extending thread class ?
What is a dynamic array in java?
What is the final method?
What is difference between add() and addelement() in vector?
Why do we use variables?
What is complexity in java?