Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
17 Online
please how do i delete duplicates from an ArrayList in java
Still Need Help?
Join the QuestionCove community and study together with friends!
do you mean if your array had [6 7 9 6 3 5 7 9] you'd want to make it [6 7 9 3 5 7]?
yea
yea
loop through array and put all elements into a set, a set will eliminate all duplicates.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Ferrari:
Is there ever a point in time where humans can time travel? Just an open question.
danielfootball123:
Quick question. Why is there no questioncove logo on the site anymore? (screensho
Twaylor:
how do i stitch up my leg ( i need real answers people- i dont want to do it wron
danielfootball123:
not sure if this is spam or not Please keep this in your prayers. Just watch this video https://www.
danielfootball123:
Why was questioncove down? and how did everything open up today without reaching
PureSoulless:
is staying at your friend's house while you're homeless legal.
whyjustwhy:
i did that one TV girl trend with blake (aka @ShadowKid3)
1 hour ago
12 Replies
2 Medals
1 day ago
10 Replies
1 Medal
1 day ago
16 Replies
4 Medals
4 days ago
11 Replies
0 Medals
1 week ago
7 Replies
5 Medals
2 weeks ago
5 Replies
1 Medal
1 week ago
12 Replies
2 Medals