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
What are the four components of j2ee application?
Is downloading java safe?
What do you understand by connector? Explain connector architecture.
How java is reliable?
What is DDP?
What is entity reference?
What is java application server?
What is java developer?
What should a junior java developer know?
What is a jbutton in java?
What is actionerrors?
What is jetty in java?
J2ee is a container centric architecture. Explain.
What does the application client module contain?
What is j2ee explain the component of j2ee application?