Answer Posted / suresh
class suresh
{
public static void main(String args[])
{
String s="sureshreddy";
for(i=s.length()-1;i>=0;i--)
{
System.out.println(s.charAt(i));
System.out.println(s.length());//it wil print the length
}
}
}
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does replaceall do in java?
What is oops in java?
What do you understand by a Static Variable?
What do you mean by global variable?
Is nan false?
What is the difference between double and float variables in java?
Why are variables important in research?
In a container there are 5 components. I want to display all the component names, how will you do that?
Write a program to print count of empty strings in java 8?
Why packages are used?
What is autoboxing in java?
Explain about OOPS concepts and fundamentals.
What is serialization in java?
What is a method in programming?
What are advantages and disadvantages of OOPs?