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 / nijamuddin
Class Help
{
Public stattic void main(String args[])
string s;
if(s=="HAT")
{
System.out.println("ATH, Tha,tah";
}
}
| Is This Answer Correct ? | 3 Yes | 29 No |
Post New Answer View All Answers
Explain the use of volatile field modifier?
What is difference between static class and normal class?
Is class is a data type?
What is default switch case? Give example.
When arithmeticexception is thrown?
Differentiate between array list and vector in java.
why not override thread to make a runnable? : Java thread
what is use of functional interface in java 8?
What is bytecode verifier?
What do you understand by private, protected and public?
What is fundamental datatype?
What is stream api in java8?
What is the generic function?
Which are the two subclasses under exception class?
What is the collections api in java programming?