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 is tree in java?
Why is stringbuffer not immutable?
How can I debug the Java security exceptions and AccessControlExceptions?
Can this keyword be used to refer static members?
What is cr keyboard?
What are different types of multitasking?
What is meant by call by reference?
What is memory leak and how does java handle it?
What is consumer in java?
What does exp mean in math?
Can a source file contain more than one class declaration?
What is parsing and its types?
Does every java program need a main?
When can an object reference be cast to an interface reference in java programming?
what is session in java?