Comment on Tutorial - compareTo( ) in Java By Mashoud



Comment Added by : Peter

Comment Added at : 2009-10-07 07:32:31

Comment on Tutorial : compareTo( ) in Java By Mashoud
know someone how to compare various objects?
I would like to have only one comparator for object like String, Long, Date...
but these objects come as "Object"s
any help?


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi ,Razvan

I changed code as in you

View Tutorial          By: sanil at 2011-01-01 11:05:53

2. Re: Inner Classes
Aside from allowing acces

View Tutorial          By: lee smith at 2010-01-17 10:59:23

3. please sent the java code for course plan automati
View Tutorial          By: vijayakumar.r.r at 2009-08-27 01:39:22

4. thank you
View Tutorial          By: latif mohammad khan at 2013-01-18 09:53:18

5. simple and clear..
View Tutorial          By: sudhesh at 2011-12-22 04:05:14

6. thank you very much....
View Tutorial          By: divya at 2013-01-06 15:50:43

7. Whe I compiled the above code, it sends me to the
View Tutorial          By: Koo Larbi at 2014-08-02 22:32:05

8. i am not sure of this line(depends on your jvm) ,
View Tutorial          By: vpeddi at 2010-03-20 07:20:19

9. sir i want how to write record into file and readi
View Tutorial          By: himasekhar at 2013-05-25 10:38:31

10. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28