Thanks to Mailgun for sponsoring this video! Head to mailgun.com/john to try Mailgun free today. Let me know if you have questions, or ideas for another video!
@praveenrock3417 Жыл бұрын
You have to have way more subscribers for the quality of content you're putting out. Crystal clear presentation of concepts..
@CodingWithJohn Жыл бұрын
I'll have to start making worse videos till I get more subs!
@kcrowe8583 Жыл бұрын
What are your thoughts on using var for local variables? Example: var myCat = new Cat();
@wellingtondefassio4435 Жыл бұрын
Hey John, i am missing new videos!!❤️
@CodingWithJohn Жыл бұрын
Sorry! I had a minor surgery that I'm recovering from at the moment so I've been delayed. But don't worry, I haven't gone anywhere, so once I'm doing better I'll be back at it.
@evelinechaza6786 Жыл бұрын
Not all heroes wear capes. John is out here saving grades.
@tarunsoni6971 Жыл бұрын
Not all heroes wear a cape, John out here is making DSA a piece of cake.
@pradeepyadravi2533 Жыл бұрын
Not all heroes wear capes. John is out here helping crack interviews
@poppincena5909 Жыл бұрын
Joh out here helping me not get fired from my job 🥲😝 Thanks john !!
@DucNguyen-sd4mn11 ай бұрын
Not all heroes wear capes. John is out here helping me crack Google Cloud system
@zfazzershroudvietcynide64e584 ай бұрын
this is so true
@xbz24 Жыл бұрын
The fact u used breaking bad char names made u the goat,thanks for this John
@juanjaimeszuluaga Жыл бұрын
Hi John! I'm a student of systems engineering. I'm from Colombia and your videos are making me improve in this language. Thank you!
@galdamez3 Жыл бұрын
I had to learn Java for a new job last year and while many of the concepts like Hash Sets have one-to-one parallels in other languages I’ve used, I’ve yet to read up on how to implement them in Java. This tutorial easily saved me a couple of hours of textbook reading. Keep up the great content.
@anubratsahoo1351 Жыл бұрын
What i couldn't understand from 1 hour long lectures,this guy just taught me under 30 mins hatss offf
@socaljusticewarrior558 Жыл бұрын
Another high-quality video, John. It actually came at the perfect time for me. I was making a whole lot of spaghetti code with ArrayLists and for loops, but then I realized that I need to focus on learning data structures for a while. This very lesson just happened to be applicable to a project I'm working on right now. I'm messing with an API that gives me random cat facts, and I've been getting a lot of duplicates.
@CodingWithJohn Жыл бұрын
Awesome, I'm glad it helped!
@ГульхаёМусурмонова Жыл бұрын
In my opinion, John is the best programming mentor on KZbin platform! Thank you so much, John!
@CoffeeDev749 Жыл бұрын
Thank you, John! Also, I loved the Breaking Bad characters being incorporated into the lesson.
@galdamez3 Жыл бұрын
Woh, I did not make the connection to the show and the sample names. I was too focused on understanding the concepts. Good eye!
@shafaatalizee81829 ай бұрын
Hi Dear Sir ! I'm associat java developer, and I love the way you delivered the topics, especially Hashset and HashMap because I was so confused on these before I watched your tutorials Thanks ❤
@evilman667 Жыл бұрын
As a senior dev, i must say, watching your videos is very relaxing. Thank you.
@telerobotic Жыл бұрын
It’s amazing having access to Java tutorials with the same quality and enthusiasm other YT channels give to the likes of Rust or the latest JavaScript framework. Thank you John!
@trustytrojan Жыл бұрын
even though i knew all about java sets, i still watched this video to appreciate how well you teach these concepts. keep it up youre doing good work for the java community 🙏
@guzinreidelas Жыл бұрын
John, thank you so much for the Java lessons. As someone who is not fluent in English, having to read the error-filled KZbin captions and follow the lesson at the same time, I actually understand your explanation better than my own professor's. Sending a warm embrace from Brazil!
@Robin-hi4vj Жыл бұрын
Que legal, Você siga em frente
@royalmech14 Жыл бұрын
John. Keep them coming. I’m from india. Haven’t seen anyone who speaks organised. Precised as you do. Love your work. Bless you ❤
@zfazzershroudvietcynide64e584 ай бұрын
new subscriber here, your explanation is 80% more easier to understand than our teacher
@jordanparsa7713 Жыл бұрын
Hey John! Your videos are helping me get through the most important internship of my life. THANK YOU. Humble Request: can you make a video covering serialization/deserialization?
@ayushmaansural4896 Жыл бұрын
Man respect ++ , The clarity you gave was commendable !
@integralcialbay4633 Жыл бұрын
Thanks for the great video! I really enjoyed and learned a lot from it. Just wanted to add one little thing about the difference between HashSet and TreeSet: Elements of a TreeSet need to implement either the Comparable interface or they need to come with a Comparator, since the TreeSet sorts them out whereas HashSet just places them based on HashCode. This is a very small difference, but it can be important sometimes.
@jagan107 Жыл бұрын
Thank you John for make me understanding difference in using Set() and HashSet() i had this doubt for longer time. Time in the video: 3:12 to 4:21
@Firestar311MinecraftMore Жыл бұрын
Hello John! While I am an experienced Java Developer, I like watching other videos and tutorials to see what is either new, or if I missed anything as I am self-taught (Or just for fun because it is entertaining and informative like your videos) and around 6:29 when you were talking about ordering being maintained is somewhat untrue ArrayLists do not maintain order and just like HashSet, they can be in whatever order Java decides to put them in. Generally speaking, Lists do maintain order a bit better than HashSets. The collections for both List and Set that maintain order is LinkedList and LinkedHashSet respectively. These will maintain their order of being added.
@CodingWithJohn Жыл бұрын
Hello, thanks for watching! I have to disagree though, ArrayList does maintain its insertion order. Feel free to Google around and look though. I'd be curious to see where you saw that it doesn't.
@federico42o Жыл бұрын
Thanks John, with you I improve my code and my English. Greetings from Argentina
@aaron10k Жыл бұрын
my go to guy for java. I have an interview coming up at a hft firm if I get it I owe it all to u mr . John
@CodingWithJohn Жыл бұрын
Good luck, let us know how it goes!
@letampatrickbienwi46106 ай бұрын
Don’t usually comment but great video , I learnt a lot and I can see the connection with data structures better. Thank you John!
@anpadjahil9711 Жыл бұрын
Thanks a lot for the simplicity! One question: while using hashset which way should we prefer and why: 1 - Set s = new HashSet 2 - HashSet hs = new HashSet
@drcl7429 Жыл бұрын
it doesn't really matter. The advantage of creating a set variable is that it could potentially reference any of the types that implement the set interface. A hashset variable can only reference hashsets.
@abhijeetvdsh10 ай бұрын
One of the best tutorial | Complete and Clear with examples
@mastershonobi110 Жыл бұрын
Very good vid. It covers all the good stuff in plain English. Thanks John.
@ah_dev Жыл бұрын
your videos are helping me understand my Java coursework at Uni! Thanks for all you do John!
@sachinsonawane3767 Жыл бұрын
Found at right time. Just when I was feeling low and bored but wanted to explore set interface. Good explanation and examples thankyou
@kotyo82 Жыл бұрын
beautiful explanation , i was worrying about this subject when i was listening my instructor several times ,; but after i found this video , Johns explanation ways very clear , understandable ,also polishing other knowledge of Java , if like button was real , i could destroy it , that much i like this .....thanks John
@drcl7429 Жыл бұрын
Understanding interfaces is crucial to grasping this. So make sure you watch his video on it.
@gerdsfargen6687 Жыл бұрын
Da man is back! This dude has saved my Java bacon many times! These videos are the best.
@CodingWithJohn Жыл бұрын
Thanks!
@vladthe_cat Жыл бұрын
Mmmmm Java bacon **Cue Homer Simpson with mouth watering*
@gerdsfargen6687 Жыл бұрын
@@vladthe_cat mmm smoked objects.
@mislam256510 ай бұрын
Simply Perfect and Perfectly Simple to Understand! Thanks a Ton!
@MarianaRomeo-o1k11 ай бұрын
Im a newbie and hash sets and sets always scared me! LOL now that you have taught me, I am seriously baffled.... Thank you so much
@-karter-4556 Жыл бұрын
you dropped this king 👑
@gerdsfargen6687 Жыл бұрын
His majesty 😌
@olenashov5214 Жыл бұрын
Your explanation of Java makes it easier to understand. Thanks, John!
@NamNguyenHoang4 ай бұрын
this is the best video about Set I have ever seen before, thank you so muchh
@antonmariadas7747 Жыл бұрын
Love your courses. Needed a reminder about sets and you made it crystal clear 😊
@limiakejelu Жыл бұрын
This guy is way too underrated! He’s the real G.O.A.T
@SemiWagner Жыл бұрын
I can't believe you just uploaded this video haha I am studying CS and this week's homework has to do with Collections and HashSet 😂
@CodingWithJohn Жыл бұрын
Awesome, hope it helps!
@kcayushma5 ай бұрын
Forward to 1:38
@gab1crazy Жыл бұрын
maannn we just started studying hash and how it works and it's amazing. now I just found this video explaining it !!! THX SO MUCH (:
@martins2462 Жыл бұрын
Good video. I would add, however, that instead of the natural ordering of type E, TreeSet can use a valid Comparator for type E, that is of type Comparator
@mannieg88 Жыл бұрын
Thank you, John, your explanations are very straightforward and easy to understand. I like the way you explain in the end how we can use data structures in real-world problems.
@tabsc3489 Жыл бұрын
Ran into these at work today, so this is a nice coincidence! Thanks for the great tutorial
@m_i_g_u_e_l_ Жыл бұрын
John you are the best java developer i know, thank you so much for share your knowledge.
@motionattached5 ай бұрын
Your teaching style has performance edge, great job! 🕹
@karlcossaboon70727 ай бұрын
Absolute legend over here Thank you
@nabeelrehman5451 Жыл бұрын
Great content as always, Please make a tutorial about java futures.
@semilife10 ай бұрын
Thanks John, great clear concise videos. Perfect for a newbie and quick refresher.
@whiz-code Жыл бұрын
Am really really satisfied with the terms you use and the implementation of the concepts in a simple and easy to understand format. Thank you, Thank you, Thank you
@mikeyyy_xam2 ай бұрын
i enjoy programming whenever i watch your videoss
@petergazer8321 Жыл бұрын
Thank you for all of your videos! You break it down in such an easy way to understand. Can you do a video sometime on serialization with examples and when to use it?
@MatthewWeiler1984 Жыл бұрын
Thanks for the video. I haven't really used Sets in the past. Looks like I have some refactoring to replace instances where I used a List just to keep track of unique entries.
@ronneyismael5804 Жыл бұрын
John the way you explain is so good that I don't need to study Java Documentation. Keep it it up. Please also make a video on Marker interface and discuss about cloneable and serializable interface
@davidwangonjo2041 Жыл бұрын
You made it look easy. Thank you John
@arthurmagamedov3179 Жыл бұрын
Give a like before watching the video! And in respect to your work watching the mailgun presentation without skipping it!))
@igor99198 ай бұрын
bros' videos are just gold
@ArturBerkut Жыл бұрын
100 times thank you! I learn English with and Java too So happy to find your channel here
@Timeless_Trader Жыл бұрын
Thanks John, it was quite helpful to remember the working principle an difference between these.
@wikituby Жыл бұрын
you are simply the best, can you please try to make videos more often, like twice a week or if possible three times a week
@Devivl Жыл бұрын
John, you're VERY cool at explaining complicated things in simple words. Thank you so much! Very cool!
@MahmudulIslam-l9x Жыл бұрын
Your videos are really good and concise, gives me insight enough. Thanks.
@khushboosoni42144 ай бұрын
love the way u explain each and every details in your programs 😍
@kronosssssss Жыл бұрын
Amazing pedagogical skills you have sir. Nice work and thank you
@pranit_1643 Жыл бұрын
Really loved the breaking bad context! kept me hooked up till the end.
@chazzhorn7688 Жыл бұрын
I love your way of explaining these concpts! Thanks John!
@lootster6 ай бұрын
John is obviously a Breaking Bad fan. Thanks for this genius video explained so succinctly.
@abhishekgowlikar Жыл бұрын
Love your videos, learned daily new topics, though the I am familiar with the topic, Presentation is crystal clear.
@rashmiraj5269 Жыл бұрын
It's called a wow video❤ thanks for making it easier
@done_done_done_man2 ай бұрын
Thanks this was super easy to understand
@sadeepaalwis5938 Жыл бұрын
Thank you so much for the detailed explanation this is a gem 😍
@aidoka2000 Жыл бұрын
Awesome, concise and clear explanation. Thank you John. I even enjoy watching the topics I already know, because I just love your way of explaining them.
@sachintiwari60652 ай бұрын
❤ very knowledgeable video ❤thanks
@michaelbistritzki7560 Жыл бұрын
This is amazing! Now that I thought about it more deeply the idea is genius. I am studying the course on data structures and an introduction to algorithms and now I am thinking that it is possible, as you described at minute 13:15, to reduce the running time of searching for duplicates in a certain list from O(n^2) to O(n) just by using a HashSet. Thank you so much John for opening this thought to me, I will keep thinking about it in the future.Keep making more videos like this, it helps a lot!🤗
@gowsikhaadevasenabathy Жыл бұрын
Hi John, your videos are extremely helpful for me as I have joined a software firm after a long career break with no prior experience in Java. Can you please do a video on Persistence since there are not many videos on this topic?
@surajverma-ut4kj Жыл бұрын
My favourite Java Guru❤
@ivaylokostadinov7543 Жыл бұрын
Hi, John! Could you make a video explaining encapsulation? Your explanations make it so clear.
@ObieR Жыл бұрын
This is awesome. Your videos have helped me so much. Thanks for all of your work.
@girishanker3796 Жыл бұрын
Love your videos. So clear 🤌✨
@yelizkosar3478 Жыл бұрын
I love your all videos. I improve myself with you Genius
@MzamoHerbza Жыл бұрын
Absolutely clear and awesome quality, John. I love the content
@tipeon Жыл бұрын
I really like LinkedHashSet. I use it quite often. Sometimes for no other reason than to make debugging easier.
@nathanherder1414 Жыл бұрын
Love me some Breaking Bad mixed in with the examples. Thanks John!
@jermainscott6973 Жыл бұрын
I swear you are the best John 👊🏾
@laforever40111 ай бұрын
Wow! What an amazing video! Thank you so much for this!
@summeray1 Жыл бұрын
Great and simple explanation! Thanks!
@deykumar5433 Жыл бұрын
Hi John, I love the way you teach. I really appreciate your hard work and effort. It would be very helpful if you make a series on Dynamic Programming. You have that ability to make complex code easier. Thank you so much for your wonderful videos
@GusLapchatiy11 ай бұрын
It's ordered by hashcodes of stored objects, if it's not a natural order it doesn't mean it's not ordered. Hashcodes can be rehashed as hashset grows and on second execution you may get a different order but anyway, technically it is sorting objects by their hashcodes.
@polimorphic13 Жыл бұрын
Excellent video as always. Thank you John!
@adityapradhan8474 Жыл бұрын
Very helpful video. You are a life saver man
@raisgamesnz325 Жыл бұрын
Thank you so much for this tutorial!
@FaridHasanaliyev Жыл бұрын
Such a great videos!!! 🙂
@faroukmatamir Жыл бұрын
Thanks John, Your video is very helpful to me, please keep it up .
@muradquliyev6448 Жыл бұрын
Thanks!
@humzakhan766 Жыл бұрын
Thank you john. Loved It. God bless you
@denzashleypascua1392 Жыл бұрын
thankk you this will help me in my study
@humairahalimi3741 Жыл бұрын
Thanks, this video was great, Very easy and clear explanation!
@sanchalisharma9149 Жыл бұрын
I loved it. I want more videos on collection frameworks. Also more on file handling and swing awt. Jdbc everything. I love your videos.
@crixi__ Жыл бұрын
perfect explanation, I love it
@Hianfita Жыл бұрын
Great content and incredibly well explained! Thank you sir!