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. nicely explained :)
View Tutorial          By: ibtisam at 2012-04-26 10:31:58

2. it is a big help for us , as a IT student that kn
View Tutorial          By: nelson kent recites at 2012-01-19 08:56:26

3. The code gives the following exception :-
<

View Tutorial          By: waqar at 2012-07-26 17:02:07

4. It is very Important Site
View Tutorial          By: Shridhar Koli at 2011-12-29 11:43:29

5. i need some more basic programes in java
View Tutorial          By: nivin at 2012-10-19 09:14:27

6. i understand but i want many information and prog
View Tutorial          By: malathi at 2013-03-29 23:52:28

7. Excellent explanation...Thanku.
View Tutorial          By: Rajpal Singh at 2012-12-29 05:36:20

8. Your explanation is perfectly clear and not in nee
View Tutorial          By: Percy at 2009-06-08 14:14:39

9. The code for CharArrayReader is not working. So, w
View Tutorial          By: Maya Joshi at 2012-06-23 14:30:26

10. Fine,you r very straightforward I like that

View Tutorial          By: Shaiju at 2010-02-21 10:15:00