my dog learned polymorphism*
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
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: 38851
    
  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: 11314
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can anyone explain me about compareTo() in String.