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
How many types of string data types are there?
When is the garbage collection used in Java?
What is multithreading and its advantages?
What is final, finally, finalize?
What is diamond operator in java?
What is the purpose of a default constructor?
What is meant by 'bit masking' in java?
What is the public method modifier?
Compare java and python.
What do u mean by variable?
What is classname class in java?
Which class is used by server applications to obtain a port and listen for client requests?
What is the use of http-tunneling in rmi?
Can constructor be static or final?
What is keyword in oop?