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

Which edition of java is used for developing web application?

885


What is java naming and directory service?

948


What is declarative security ?

1063


Difference between load and get method?

983


What is full form of j2ee?

1036


What is webservices in java?

927


What is j2ee module?

1018


What are the components of awt in java?

948


What is repaint in java?

891


What is document root?

927


What is j2ee api?

975


Difference between save and saveorupdate?

1003


What is a gui in java?

883


What is enterprise information system?

980


What is actionform?

955