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
What is local variable and instance variable?
What is difference between length and length() method in java ?
What are the methods available in a class?
What methodology can be utilized to link to a database?
Describe method overriding
What data structures are used to perform recursion?
What are the 3 types of loops in java?
How can constructor chaining be done using this keyword?
why not override thread to make a runnable? : Java thread
Difference between == and .equals() ?
What are streams in java 8?
Can we return null in java?
Which sorting algorithm is best in java?
What is another word for methodology?
Why super is first line in java?