Forum: Collections

Java SE Collections like List, Set, Map and Properties related questions can be posted here

11 Days ago
User Image
KarthikReddy

Newbie

Joined: Jun 13, 2017

Points: 100

Threads: 20

Posts: 8

How the set avoid duplicates internally?

What mechanism the set actually uses internally? Can anyone gi... More

Last edited by KarthikReddy: 9 Days ago
Replies: 2 | Views: 117
Thank you for your response
9 Days ago
14 Days ago
User Image
venky2662

Newbie

Joined: Jul 27, 2017

Points: 100

Threads: 5

Posts: 0

Why collection does not extend cloneable and serializable interface ?

Why collection does not extend cloneable and serializable interface ?&... More

Last edited by venky2662: 14 Days ago
Replies: 0 | Views: 80


No Posts Available
28-4-2015 12:00:00 AM
User Image
arvind208

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 13

Posts: 18

what is difference b/w bean inheritance and collection merging?

what is difference b/w bean inheritance and collection merging? More

Last edited by arvind208: 15 Days ago
Replies: 18 | Views: 932
if it is inheritance the we can inherit one class from another class but when we go for...
15 Days ago
28 Days ago
User Image
Linga12

Newbie

Joined: Mar 19, 2018

Points: 100

Threads: 1

Posts: 0

Data-structures

Hi, I have a doubt on what is upper bound and lower&nbs... More

Last edited by Linga12: 28 Days ago
Replies: 0 | Views: 90


No Posts Available
19-3-2018 01:51:39 PM
User Image
GKNageswar

Newbie

Joined: Jun 25, 2017

Points: 100

Threads: 5

Posts: 3

interview question

1) write a program on input of date :Date format yyyy-mm-dd (20... More

Last edited by GKNageswar: 29 Days ago
Replies: 1 | Views: 292
package dateEx; import java.text.ParseException; i...
29 Days ago
22-2-2018 05:00:18 PM
User Image
SreeKanth9

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 9

Posts: 12

CopyOnWriteArrayList and CopyOnWriteArraySet

What is CopyOnWriteArrayList and CopyOnWriteArraySet in ConcurrentColl... More

Last edited by SreeKanth9: 23-2-2018 10:01:01 AM
Replies: 1 | Views: 247
These are the classes which got introduced in java 5.   The mai...
23-2-2018 10:01:01 AM
10-2-2018 06:10:50 AM
User Image
Suneel

Newbie

Joined: Jun 12, 2017

Points: 105

Threads: 8

Posts: 16

Unique List

How to create List with Unique Elemnts? More

Last edited by Suneel: 12-2-2018 05:14:23 AM
Replies: 2 | Views: 270
We can do this by using generic. Like List<Integer> list=new ArrayList<Integer...
12-2-2018 05:14:23 AM