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 an empirical question?
What is empty list in java?
How java uses the string and stringbuffer classes?
In case of inheritance what is the execution order of constructor and destructor?
What all access modifiers are allowed for top class ?
What is object english?
Is namespace same as package in java?
What is a constructor, constructor overloading in java?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What is function overriding and overloading in java?
What is the tradeoff between using an unordered array versus an ordered array?
What do you mean by flow of struts?
What is a hashmap used for?
What does a boolean method return?
What is array sorting in java?