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
What are the differences between string and stringbuffer?
What is internal variable?
Is class is a data type?
How many types of interfaces are there?
Write a function for palindrome and factorial and explain?
Difference between method overloading and method overriding in java ?
What is nextint java?
How do generics work in java?
Which class is the superclass of all classes?
Describe string intern() methodology
why would you use a synchronized block vs. Synchronized method? : Java thread
What is the string function?
Which category the java thread do fall in?
What is generics in java interview questions?
What is stringjoiner ?