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. This code was quite helpful .I wud like to ask cod
View Tutorial          By: Namrata at 2008-08-03 04:09:06

2. the language of your information is easu and more
View Tutorial          By: shivprakashmeena at 2010-08-06 22:18:09

3. Thanks Steven, That is an exhaustive list of diffe
View Tutorial          By: Robert at 2008-12-08 22:17:47

4. plz xplian robust in a simple way and what is dyna
View Tutorial          By: tintu at 2011-12-01 08:21:25

5. well no one answered , i figured it out yesterday
View Tutorial          By: oded at 2008-09-29 00:32:16

6. nice example 2 uderstand
View Tutorial          By: nilesh doshi at 2011-05-09 01:24:24

7. where do i download the DOM and SAX jar?
View Tutorial          By: David at 2011-11-11 03:04:11

8. How to use Shift operators with practicals in java
View Tutorial          By: RosyKrish at 2013-01-17 02:42:37

9. thanks ..it was really helpful.
View Tutorial          By: jay at 2012-03-19 04:17:14

10. thanks
View Tutorial          By: nitin at 2010-03-29 01:02:57