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 output buffer?
What are the 5 types of research methods?
How we create object in copy constructor?
When will we prefer to use set and list in java and why?
Is java a virus?
Explain the meaning of java applet.
Which is better stringbuilder or stringbuffer?
I don’t want my class to be inherited by any other class. What should I do?
What is a singleton factory?
Explain about main() method in java ?
What is generic type?
What is purpose of keyword void?
Define how objects are stored in java?
Can we serialize static variables in java?
What is args length in java?