How can you reverse a string?

Answer Posted / gokulprasath

StringBuilder sb= new StringBuilder("kannada").reverse();

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does \ mean in regex?

626


What are white spaces in java?

534


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

563


What is a method signature java?

577


Can two objects have same hashcode?

566






What is isa relationship?

567


What are synchronized blocks in java?

604


What is prefix of a string?

575


What is bufferedreader in java?

580


What is meant by JVM? Is JVM platform independent or not?

579


What is the latest java version?

563


Is arraylist a class in java?

538


What is the difference between declaration and definition in java?

519


Why is java called java?

545


What is return code?

560