Answer Posted / haneef
public class Main {
public static void main(String[] args)
{
String str1="HANEEF";
for(int i=str1.length();i>0;i--)
{
System.out.print(str1.charAt(i-1));
}
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we clone singleton class in java?
What is the difference between conversation & casting?
what is the difference between the methods sleep() and wait()? : Java thread
What is the differences between c++ and java? Explain
How do you compare objects in java?
what do you mean by classloader in java?
What are assembly attributes?
Does java allow default arguments?
How does map works in java?
Why are arrays useful in java?
what are synchronized methods and synchronized statements? : Java thread
Difference between this() and super() ?
What is definition and declaration?
What is getkey () in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?