aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Still trying to understand compareTo() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Still trying to understand compareTo() method" Watch "Still trying to understand compareTo() method" New topic
Author

Still trying to understand compareTo() method

saurabhthard aggarwal
Greenhorn

Joined: Nov 20, 2008
Posts: 22
/*WHEN COMPARETO () METHOD IS CALLED FOR ADDING THE SECOND ELEMENT IN THE TREESET WHICH OBJECT VALUE IS COMPARED TO WHICH OBJECT VALUE.

Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Thanks for using the CODE tags saurabh. However can you please edit the original post instead of creating a new one ? This will help you track your responses better and will avoid confusion due to double posting. Your original post is here

http://www.coderanch.com/t/436485/Programmer-Certification-SCJP/certification/Still-not-getting-working-compareTo

Thanks


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Still trying to understand compareTo() method