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



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 for giving info.
View Tutorial          By: Deepak cheela at 2013-01-23 07:03:08

2. why 27's example is prone to a deadlock ? when pro
View Tutorial          By: kaka at 2011-08-14 00:59:41

3. #include<iostream>
#include<conio.

View Tutorial          By: XavioR at 2011-01-31 00:53:11

4. Thanks.I was searching the internet for a lot of t
View Tutorial          By: Habi at 2011-12-22 07:43:51

5. a bit extra information on robust
View Tutorial          By: mahesh at 2010-02-02 12:05:37

6. Thank you very much. Now I know how to make an abs
View Tutorial          By: Alex at 2011-01-17 03:35:22

7. This code works for me. But i have a doubt how to
View Tutorial          By: Daya at 2015-05-04 12:04:19

8. it's very good example to understands overloading
View Tutorial          By: Rakesh Sharma at 2011-11-18 06:37:49

9. i hav d same error as sudhir has "INVALID PO
View Tutorial          By: JAY SHAH at 2011-02-14 09:33:12

10. Not able to store on SD card.But storing on phone
View Tutorial          By: kusuma at 2015-07-25 13:42:17