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...

I need help please send me reply:
Write a program "if given a string like 'HAT', the
combination's returned should be like ATH,THA,TAH in java"?

Answer Posted / sudhir

it is same as pallindrome ;
take 2 string or character and and exchange the first and
last location at every loop condition.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram can a 64 bit processor theoretically?

963


Java is pass by value or pass by reference? Explain

1030


What is final access modifier in java?

1211


What is the flag in java?

1110


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1135


What is the use of StringTokenizer class?

1112


When should a function throw an exception?

1101


What is the final field modifier?

1032


What is a cup of java?

1061


How do you check if two given string are anagrams?

1002


What are the methods available in a class?

1128


What is object data type?

1047


What is this () in java?

1082


What is Garbage Collection in Java

1122


What is canonical name in java?

1188