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
What is array length?
Why do we need hashset in java?
What are the various access specifiers for java classes?
What do you understand by the bean persistent property?
What is the difference between jvm and jre? What is an interface?
What is nextline method in java?
What is externalizable interface?
What is the destroy method?
Is an integer an object?
Are arrays passed by reference in java?
What is the final variable?
why an outer class cannot be declared as private?
What is equals method in java?
what is use of functional interface in java 8?
What is the finalize method do?