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
Explain Basics of OOP Language in java
What is :: operator in java?
Why do we create public static method in java?
Why is whitespace important?
What is the difference between applet and application?
What is the difference between serializable and externalizable interface?
What language is pass by reference?
what is optional in java 8?
What are the uses of java?
What does a method signature consist of?
Can inner class have constructor?
Is array a class?
What is the purpose of a parameter?
Is zero a positive integer?
How do you do math powers in java?