write a program, when a statement is entered, it should
display in reverse order.
Ex: Statement is "I am writing program in reverse order".
Output should be like "order reverse in program writing am I".
Answer Posted / ram shringar
public class Test {
public static void main(String abb[])throws Exception
{ int i=3;
String string[]=abb;
for(i=string.length-1;i>=0;i--)
{
System.out.print(string[i]+" ");
}
}
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which edition of java is used for developing web application?
What is java naming and directory service?
What is declarative security ?
Difference between load and get method?
What is full form of j2ee?
What is webservices in java?
What is j2ee module?
What are the components of awt in java?
What is repaint in java?
What is document root?
What is j2ee api?
Difference between save and saveorupdate?
What is a gui in java?
What is enterprise information system?
What is actionform?