Answer Posted / venki from hyd
class ReverseString
{
static String name="Hello";
public static void main(String args[])
{
String rname;
for(int i=name.length(); i<0; i--)
{
rname=name.charAt(i);
}
System.out.println(rname);
}
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can we make the abstract methods static in java?
What are the advantages of unicode?
Difference between method overloading and overriding.
What is final, finally, finalize?
what is the difference between the methods sleep() and wait()? : Java thread
What are advantages of exception handling in java?
What does a za z0 9 mean?
Why java is call by value?
Is empty in java?
Explain the difference between throw and throws in java?
How do you sort in java?
How do you print array in java?
What is the difference between actual and formal parameters?
make a method which any number and any type of argument and print sum of that arguments.....
Why we cannot override static method?