Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 output buffer?

1029


What are the 5 types of research methods?

1135


How we create object in copy constructor?

1108


When will we prefer to use set and list in java and why?

958


Is java a virus?

947


Explain the meaning of java applet.

1063


Which is better stringbuilder or stringbuffer?

924


I don’t want my class to be inherited by any other class. What should I do?

1011


What is a singleton factory?

954


Explain about main() method in java ?

1056


What is generic type?

1018


What is purpose of keyword void?

1039


Define how objects are stored in java?

1049


Can we serialize static variables in java?

1078


What is args length in java?

1163