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

How to perform selection sort in java?

955


How does varargs work in java?

1036


What is the purpose of assert keyword used in jdk1.4.x?

1008


In java, what is the difference between method overloading and method overriding?

1048


How do you compare values in java?

974


Why do we need hashmap in java?

1027


Do you need to import math in java?

935


What is tochararray in java?

877


What is the purpose of the system class in java?

1000


What is covariant return type?

1056


Why spring singleton is not thread safe?

957


How can you avoid serialization in child class if the base class is implementing the serializable interface?

1022


What is a marker interface?

1085


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

984


What is the symbol for space?

929