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 the significance of java packages?
Why is java not 100% pure oops?
Can we have any other return type than void for main method?
What is variable and its types?
What is high level language in computer?
How to do a true java ping from windows?
what are the states associated in the thread? : Java thread
What is an interoperable application in java ?
What are instance variables?
Can we compare two strings in java?
How to access arraylist elements in java?
What is the java reflection api? Why it’s so important to have?
What is the difference between class & structure?
What is member in java?
What carriage return means?