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...

What method is used to compare two strings ?

Answer Posted / k.b.s.reddy

we can use a string function...
eg:
strcmp("string1","string2")
it return 0 if string1=string2
it return >0 if string1>string2
it return <0 if string1<string2.
value returned depends on anscii calues of strings...

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function argument in java?

997


How do you achieve polymorphism in java?

997


What are the two ways in which thread can be created?

1052


What is console based application in java?

1041


Is 9 a prime number?

885


What is the symbol for line break?

1097


What does the three dot emoji mean?

1124


What are the different types of sorting in java?

980


What is meant by design patterns?

1033


Explain inner classes ?

1128


What is double checked locking in singleton?

1055


Where are local variables stored?

967


how is final different from finally and finalize in java?

1056


How do you convert an int to a string in java?

1132


What are the fileinputstream and fileoutputstream?

1065