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. i have been searching for this result for more tha
View Tutorial          By: nithin at 2010-08-08 12:55:18

2. its very good , good example for beginners
View Tutorial          By: Rohit Mumbai at 2012-02-03 06:59:13

3. everything is easy to learn from your website.I un
View Tutorial          By: sumitra barua at 2012-05-30 03:13:10

4. Great stuff - helped me setting up the company SQL
View Tutorial          By: JW at 2011-07-11 12:09:19

5. hai, i tried the abvoe code, m getting the follwin
View Tutorial          By: charan at 2011-10-20 12:59:59

6. Thnx Ramlak,but be ware about syntax errors.
View Tutorial          By: Saber at 2008-11-03 07:45:23

7. Ok, now I get it. New to Java and it just didnt ge
View Tutorial          By: izdelava strani at 2011-12-16 09:42:51

8. when iam trying to executing above program i am ge
View Tutorial          By: BHAGYALAXMI at 2008-10-11 06:45:57

9. nice... thanks for the explain, you safe my day...
View Tutorial          By: Joseph Louis at 2011-05-11 08:53:53

10. /*Overridding & equals:--> Overriding is an
View Tutorial          By: Naveen Kumar at 2011-04-30 18:44:55