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 object and class classes used for?

770


What is a parameter used for?

714


What is meant by design patterns?

781


When is the garbage collection used in Java?

853


What is the difference between delete and delete[]

887


Can constructor be inherited?

779


What is the main method java?

744


How do you find the absolute value?

768


Explain about version control?

762


How many threads does a core java have?

754


How many types of flags are there?

720


Is the milky way in a void?

740


How many bits is a 64 bit byte?

738


What is a qms manual?

750


How does the java compiler work?

721