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


Please Help Members By Posting Answers For Below Questions

What is the significance of java packages?

825


Why is java not 100% pure oops?

802


Can we have any other return type than void for main method?

729


What is variable and its types?

751


What is high level language in computer?

743


How to do a true java ping from windows?

787


what are the states associated in the thread? : Java thread

809


What is an interoperable application in java ?

746


What are instance variables?

795


Can we compare two strings in java?

746


How to access arraylist elements in java?

683


What is the java reflection api? Why it’s so important to have?

731


What is the difference between class & structure?

768


What is member in java?

678


What carriage return means?

699