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

What is java ee architecture?

883


What is the difference between session bean and entity bean ?

907


What is core java and j2ee?

913


What are the tools in java?

852


What is deployer?

966


What is component contract?

933


What is j2ee application?

956


What are the components and containers in java?

892


What is gridlayout in java?

876


Is string a primitive data type in java?

908


What is japplet in java?

985


What is caller?

973


What is j2ee application model?

893


Is j2ee a programming language?

939


How many java languages are there?

961