wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes can anyone explain me about compareTo() in String. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can anyone explain me about compareTo() in String." Watch "can anyone explain me about compareTo() in String." New topic
Author

can anyone explain me about compareTo() in String.

Anand Sivathanu
Ranch Hand

Joined: Jun 25, 2010
Posts: 76
please explain the functionality
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38509
    
  23
Have you read the documentation?
Anand Sivathanu
Ranch Hand

Joined: Jun 25, 2010
Posts: 76
yes but not clear for me
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11256
    
  16

What is not clear? What do you understand?

Do you really expect someone to write an entire essay on the topic, when there are scores of them already out there? And since you didn't understand those, why would you understand one written here, without telling us what EXACTLY you need clarification on?

Your job, when you post a question here, it to make it as easy as possible for someone to help you - otherwise they won't bother. So far, you have done very little to help us understand your confusion, so you're getting almost no help.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
jQuery in Action, 2nd edition
 
subject: can anyone explain me about compareTo() in String.