Answer Posted / patil abhijeet
Use String buffer
StringBuffer stb = new StringBuffer(string)
stb.reverse()
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do you remove all elements from an arraylist in java?
What is port number in java?
How a variable is stored in memory?
List the different types of classloaders in java.
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What is a “stateless” protocol ?
What are bind parameters?
What is e in java?
Is main a keyword in java?
What is difference between throw and throws ?
Explain about java sdk?
Why char array is preferred over string for storing password?
What does split function do in java?
Can a class be private?
What is the difference between logical data independence and physical data independence?