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 are the concepts of 'OOPS'?

1080


How are observer and observable used in java programming?

1036


Can we extend singleton class?

957


What is the use of a copy constructor?

992


What is a default constructor and also define copy contrucyor?

1111


What are anonymous inner classes?

1015


What is a predicate method?

1025


What happens if main method is not static?

1002


What is substring 1 in java?

1167


Does java set allow duplicates?

1091


What is a numeric string?

1033


Is there any difference between nested classes and inner classes?

1109


Can a class with private constructor be extended?

950


What is difference overloading and overriding?

1174


How does compareto work in java?

1045