This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 37926
    
  22
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: 11153
    
  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
 
 
subject: can anyone explain me about compareTo() in String.
 
Similar Threads
Type Constructor & Instance Cnstructor
Natr... mockQ 19
Null pointer not found
Abt Inner Classes....
With the recession kicking in, is it a good idea to go to USA on H1B consulting jobs?