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
Do extraneous variables affect validity?
How many bits is a 64 bit byte?
What are the two main uses of volatile in Java?
What is a string what operation can be performed out with the help of a string?
What is keyword and identifier?
What is the difference between delete and delete[]
Is string is a data type in java?
Can we declare register variable as global?
What are operators and its types?
Can you write a java class that could be used both as an applet as well as an application?
How do you define a variable?
Write a program to print the pattern given below
How do you sort arrays in java?
What are the topics in core java?
Does printwriter create a file?