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

What are the differences between string and stringbuffer?

1057


What is internal variable?

963


Is class is a data type?

1019


How many types of interfaces are there?

984


Write a function for palindrome and factorial and explain?

1023


Difference between method overloading and method overriding in java ?

1022


What is nextint java?

975


How do generics work in java?

948


Which class is the superclass of all classes?

1053


Describe string intern() methodology

1015


why would you use a synchronized block vs. Synchronized method? : Java thread

900


What is the string function?

901


Which category the java thread do fall in?

944


What is generics in java interview questions?

1001


What is stringjoiner ?

910