Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you run a java program?

934


Where can I find java developers?

921


What is a java developer?

1023


What is business method?

956


What does web module contain?

907


What is component-managed sign-on ?

943


What does application client module contain?

1005


Why is java important for internet?

885


What do you understand by j2ee?

946


What is j2ee stack?

903


What is non primitive data type in java?

917


What is commit?

1054


What is actionform?

945


What is awt panel java?

924


Explain connector architecture.

973