compareTo


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: compareTo

  1. #1
    Join Date
    Nov 2003
    Posts
    7

    compareTo

    In order use
    object.compareTo(object)
    Code:
    object.compareTo(object)
    What should I import?
    Thanks in advance..

  2. #2
    Join Date
    Dec 2003
    Posts
    2
    I think it's java.lang.comparable;
    I'm not sure, but try it anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center