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

Why string is immutable or final in java

609


How is final different from finally and finalize?

494


What is multithreading in java?

547


how its run?

567


How to display all the prime numbers between 1 and 100

501






What things should be kept in mind while creating your own exceptions in java?

624


How do you sort data in java?

518


Can an interface be defined inside a class?

516


If you do not want your class to be inherited by any other class. What would you do?

559


What happens if I remove static from main method?

520


Is a boolean variable?

518


What does sprintf mean?

527


What is data object example?

526


What are the different tags provided in jstl?

548


What is dot operator?

572