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
whatis Home interface and Remoteinterface? with example?
Why we override equals() method?
Can we sort list in java?
Explain the features of interfaces in java?
What are constructors in java?
What is predicate in java?
What is equals method in java?
What is public static void main?
What is a dot notation?
How do you sort arrays in java?
How to optimize the javac output?
What are the elements of java?
How can you set the applet size?
What is the generic class?
Can we override private method?