Answer Posted / palemraju
String str="how r u";
int length=str.length();
System.out.print("The reverse String is:");
while(len>0)
{
System.out.print(str.charAt(len-1));
len--;
}
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Which is better singleton or static class?
Name few java.lang classes introduced with java 8 ?
How can constructor chaining be done by using the super keyword?
Why is java called the platform independent programming language?
What about member inner classes?
Can an interface have a constructor?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What is difference between Heap and Stack Memory?
Can we call thread start () twice?
What are the differences between forwarding () method and sendredirect() methods?
Difference between static synchronization vs. Instance synchronization?
Can we have multiple catch block for a try block?
What is arguments in java?
Can a class have multiple constructors?
What is string manipulation?