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
Why local variables are stored in stack?
Can a function return a function?
What is your platform’s default character encoding?
What are the uses of synchronized keyword?
What is java instanceof operator?
Which sorting is best in java?
What is java in detail?
What is generic type?
What is hashtable and explain features of hashtable?
What is a variable and constant?
What is a parameter in simple terms?
Explain the inheritance?
How many threads does a core java have?
What is the difference between math floor and math round?
Write a program to print all permutations of string?