Comment on Tutorial - Use List, Set, SortedSet, LinkedHashSet, Map, LinkedHashMap in java By Saravanan



Comment Added by : kalaivanan

Comment Added at : 2012-04-11 06:51:49

Comment on Tutorial : Use List, Set, SortedSet, LinkedHashSet, Map, LinkedHashMap in java By Saravanan
Good Explanation for the collections. The output for the program is wrong.

Correct Answer:

List:angel schildt mathew schildt
set:rose schildt mathew
mathew schildt set:jasmine
set:winslet schildt mathew
schildt map mathew
java2s HashMap Hyden
map mathew schildt
TreeMap Hyden java2s
map schildt mathew
LinkedHashMap java2s Hyden


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. It gives strange result when we use == as delimite
View Tutorial          By: Amit at 2010-05-07 05:03:41

2. when I exported the data to excel there is a value
View Tutorial          By: mizhelle at 2015-10-10 13:17:56

3. hi
very tnx for your code

View Tutorial          By: Moji at 2012-08-19 16:06:53

4. Thanks
Your solution helped me a lot :)

View Tutorial          By: sendhil at 2010-05-28 01:12:41

5. Verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
View Tutorial          By: Amarnath.A at 2011-07-14 00:32:08

6. Excelent sample, I'm disagree with Anon, the sampl
View Tutorial          By: Gerardo Saldívar at 2009-09-21 15:25:01

7. I get an error returned saying the SMPT server req
View Tutorial          By: Christian Peut at 2011-04-04 04:35:51

8. S.N. Constructor & Description
1 String

View Tutorial          By: Jameesh at 2015-03-05 07:09:38

9. please explain importance of java and explain it's
View Tutorial          By: sandhi.vijayanth reddy at 2012-10-01 16:30:54

10. As C does not support Function Overloading, there
View Tutorial          By: N at 2013-03-06 00:27:14