How can you reverse a string?

Answer Posted / ravikiran(aptech mumbai)

by calling reverse() method from String class

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays dynamic in java?

530


Does set allows null in java?

506


How do you format in java?

547


Explain the difference between string, stringbuffer and stringbuilder in java?

555


Where is stringbuffer stored?

547






What is difference between array and vector?

532


What are mutable classes?

521


What data structures are used to perform recursion?

603


explain local datetime api in java8?

551


What are static variables and functions?

618


What is strings in java?

585


Are arrays passed by reference in java?

481


What is static method with example?

614


How do you add an arraylist to an array in java?

507


What are different types of arrays?

530