Comment on Tutorial - compare() example in Java By Emiley J



Comment Added by : Siddhesh Khedekar

Comment Added at : 2009-10-27 00:14:17

Comment on Tutorial : compare() example in Java By Emiley J
in statment -
new Treeset<String> (new MyComp());

why is new MyComp() written in bracket wjhat is does?


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. Thank you very much for explaning the things in su
View Tutorial          By: Sunil Yadav at 2010-05-27 04:04:31

2. Can u tell it can also use for connecting to oracl
View Tutorial          By: Ankur Jain at 2010-08-06 05:31:08

3. Thank you very much!!!

But I have t

View Tutorial          By: Gemis at 2009-04-14 02:37:08

4. hai i have downloaded the above sms source code i
View Tutorial          By: arunram at 2009-10-28 01:42:51

5. hi!
how can i add variable form object to a

View Tutorial          By: rushi at 2015-07-16 08:18:58

6. Try this

import java.net.*;

View Tutorial          By: Asad at 2014-02-13 05:55:26

7. But I have the same error ("javax.net.ssl.SSL
View Tutorial          By: azeemuddin at 2010-03-04 07:25:33

8. thanks a lot............
View Tutorial          By: mks at 2013-01-03 06:50:05

9. Yes, its possible to send SMS through web applicat
View Tutorial          By: Vidya at 2010-07-08 07:19:58

10. Please guys i need sms.zip. I tried SMS.RAR but al
View Tutorial          By: Waseem at 2010-03-06 15:48:40