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 are abstract methods in java?
Is java platform independent?
What is consumer in java?
What is stringbuffer in java?
What is the basic concepts of OOPS?
What is the purpose of the return statement?
What is the use of join method?
What is a jagged array in java?
What is string immutability?
What is module with example?
Explain about data types?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is the final field modifier?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Is constructor inherited?