Answer Posted / raj
public static void main (String args[])
{ String s1="1234567";
for(int i=s1.length()-1;i>=0;i--)
{
System.out.print(s1.charAt(i));
}
}
| Is This Answer Correct ? | 25 Yes | 0 No |
Post New Answer View All Answers
What is a singleton class? Give a practical example of its usage.
Explain the available thread states in a high-level?
What is stringwriter?
How do you remove all elements from an arraylist in java?
What is the difference between conversation & casting?
java Technical questions asked by JPMC
Why main method is called first in java?
How big is a gigabyte?
What are different ways of object creation in java ?
Can we serialize static variables in java?
Define inheritance?
What is anagram of a string?
What are selection structures?
How can we create an immutable class in java?
Is java a security risk?