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
How do you include a string in java?
Which sorting algorithm is in place?
Explain about collection interface in java?
What are implicit objects in java?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Explain about member inner classes?
What does exp mean in math?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What are the basic concepts of OOPS in java?
Why is the main method static?
What is map java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
Is arraylist ordered?
What does 0 mean in boolean?
Explain the access modifiers for a class, method and variables?