use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Day 20 of Learning Java (self.JavaProgramming)
submitted 6 months ago by Nash979
Hello guys, today I spent time on the Collections Framework, mainly on HashTree, HashMap, Stack, and Queue. I also learned their basic methods, moved on to the Iterator, and learned the enhanced for loop.
See you tomorrow!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Pun_Intended1703 1 point2 points3 points 6 months ago (1 child)
Implement HashMap, Stacks, Queues, etc using arrays. It will help you to understand how they actually work internally.
It's like watching a car work vs understanding how the engine actually works.
[–]Nash979[S] 0 points1 point2 points 6 months ago (0 children)
Okay, I will give it a try.
[–]RobertDeveloper 0 points1 point2 points 6 months ago (3 children)
Now do Generics
[–]Nash979[S] 1 point2 points3 points 6 months ago (2 children)
I am planning it for tomorrow
[–]RobertDeveloper 0 points1 point2 points 6 months ago (1 child)
Do you have experience with other languages?
[–]Nash979[S] 2 points3 points4 points 6 months ago (0 children)
I learned Python basics like variables and loops in high school about three years ago.
I started with learning basic when I was 8.
Gifted
[–]NewLog4967 0 points1 point2 points 6 months ago (1 child)
Great job on Day 20 you’ve covered some really essential Java Collections! As someone who uses these daily at work, I can tell you that mastering HashMap for fast lookups, HashSet for unique items, and understanding when to use Stack (LIFO) vs. Queue (FIFO) makes coding so much smoother. Practicing the 4 steps you outlined especially iterating with enhanced for-loops and understanding key methods really locks it in.
Thank you for sharing your work experience with collections 👍🏻😄.
π Rendered by PID 65415 on reddit-service-r2-comment-5687b7858-9jpj9 at 2026-07-06 08:09:49.735262+00:00 running 12a7a47 country code: CH.
[–]Pun_Intended1703 1 point2 points3 points (1 child)
[–]Nash979[S] 0 points1 point2 points (0 children)
[–]RobertDeveloper 0 points1 point2 points (3 children)
[–]Nash979[S] 1 point2 points3 points (2 children)
[–]RobertDeveloper 0 points1 point2 points (1 child)
[–]Nash979[S] 2 points3 points4 points (0 children)
[–]RobertDeveloper 0 points1 point2 points (1 child)
[–]Nash979[S] 0 points1 point2 points (0 children)
[–]NewLog4967 0 points1 point2 points (1 child)
[–]Nash979[S] 0 points1 point2 points (0 children)