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
What Is Composition?
How does arraylist work in java?
What are the three best choices for a development environment?
Explain about procedural programming language or structured programming language and its features?
Is it possible to override private or static method in java?
What is the difference between throw and throws keywords?
Is void a data type?
Is java a software?
Write a code to show a static variable?
How can an object be unreferenced?
Is linked list a linear or non-linear data structure?
Explain the reason behind ending a program with a system.exit(0)?
What are different types of references?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Explain about features of local inner class?