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. pritnt
1 2 3 4 5

View Tutorial          By: osama at 2013-02-05 03:16:15

2. Thank you lot of..@
This example help me.

View Tutorial          By: Tushar at 2012-02-12 02:48:10

3. Hi
I tried to use this on a windows 7 32 b

View Tutorial          By: Asela at 2012-01-26 18:35:57

4. Rattling explanation .....thnx brother
View Tutorial          By: zorro at 2011-06-16 05:05:43

5. Zabardast
View Tutorial          By: Rohan at 2011-11-03 08:25:59

6. Hi Sir,
Thank You so much for your

View Tutorial          By: kareena at 2010-10-21 23:26:37

7. Hi it is working fine .but when my server we imple
View Tutorial          By: mohan at 2014-11-28 10:57:22

8. Thanks a lot !
View Tutorial          By: Kalander bava ta at 2012-11-04 08:07:15

9. Well explained. Example clear out the diff
View Tutorial          By: sonam at 2014-06-25 19:05:20

10. guys you both are correct
but,java is impli

View Tutorial          By: vijay at 2011-09-08 12:12:48