Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
P52 - Set in Java | Collections | Core Java | Java Programming |
Play lesson

Core Java in Telugu | Java Programming - P52 - Set in Java | Collections | Core Java | Java Programming |

4.0 (4)
44 learners

What you'll learn

This course includes

  • 58.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, I have explained about "Set in Java". In this video, I'll explain Sets in Java, which are collections that allow you to store a set of unique elements. I'll cover the three main implementations of the Set interface in Java: HashSet, TreeSet, and LinkedHashSet. I'll start with HashSet, which uses a hash map to store its elements and provides constant-time performance for basic operations like add, remove, and contains. We'll discuss its strengths and weaknesses, and look at some sample code to see how to use it. Next, I'll move on to LinkedHashSet, which uses a LinkedHashMap to store its elements, maintaining both uniqueness and the order of insertion. I'll talk about the trade-offs between LinkedHashSet and HashSet. Finally, I'll take a look at TreeSet, which uses a self-balancing binary search tree to store its elements and maintains them in a sorted order. I'll explain when you might want to use TreeSet instead of the other two implementations. Throughout the video, I'll provide plenty of examples and sample code to help you understand how to use Sets in your own Java programs. Whether you're a beginner or an experienced Java programmer, you'll come away with a solid understanding of Sets and how to use them effectively in your own code. Points covered in this video: ❇️ What is Set? ❇️ Hierarchy of Set Interface in Java ❇️ Major operations performed on Set object 🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶 ▶ Next Video link: link will be updated once the video is uploaded ◀ Previous Video Link: https://youtu.be/blIoH9IJlNY ↔ Core Java in Telugu Playlist link: https://bit.ly/3KMlbBk ✴ Checkout my other playlists: https://bit.ly/3gLIAVL ☕ Buy me a coffee: https://bit.ly/33ljBWc =================================== =================================== Connect me @ 🔗 Website - https://www.hyrtutorials.com 🔗 Telegram - https://t.me/hyrtutorials 🔗 Facebook - https://www.facebook.com/HYRTutorials 🔗 LinkedIn - https://linkedin.com/company/hyrtutorials 🔗 Twitter - https://www.twitter.com/hyrtutorials 🔗 Instagram - https://www.instagram.com/hyrtutorials =================================== =================================== 🙏 Please Subscribe🔔 to start learning for FREE now, also help your friends in learning the best by suggesting this channel. #hyrtutorialstelugu #selenium #java #telugu Java programming by Yadagiri Reddy

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere