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 key in java?
Why arraylist is used in java?
Is null keyword in java?
What do you mean by flow of struts?
What is Java Shutdown Hook?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
How do you convert int to char in java?
What is the disadvantage of java?
What is the purpose of the file class in java programming?
Can a static method be final?
What is meant by the value of a variable?
What is supplier in java?
Differences between external iteration and internal iteration?
What is the purpose of the main method?
What will happen if a thrown exception is not handled?