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 are heterogeneous objects?
What is stack explain?
What are the java ide's? Explain
Why do we need hashmap in java?
What is final?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What does flagged out mean?
What are the advantages of encapsulation in java?
Explain the importance of import keyword in java?
What is java oops?
Variables used in a switch statement can be used with which datatypes?
How will you invoke any external process in java?
difference between byte stream class and character stream class?
Explain access modifiers in java.
What is a pattern what is an anti pattern?