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 string length in java?

931


Similarity and difference between static block and static method ?

904


What does this () mean in constructor chaining concept?

1104


How are destructors defined in java?

1020


What do you mean by Hash Map and Hash Table?

1070


What do negative exponents mean?

1020


Can we override private methods?

1004


Can constructor be inherited?

1017


List the three steps for creating an object for a class?

949


Are arrays passed by reference in java?

901


What is the use of accept () method in java?

1076


Write a java program to generate fibonacci series ?

1058


Explain about map interface in java?

980


What is finally block?

1036


What do you understand by Header linked List?

1079