Chapter-03: Say Goodbye to Arrays: The Power of Java Collections | A-Z of Collections

preview_player
Показать описание
Are you tired of using arrays in your Java programs and need a better way to manage collections of objects? Look no further than the Java Collections Framework! In this tutorial, we'll explore what the framework is, why it's useful, and how to use its various data structures.

First, we'll go over the hierarchy of the Collection Framework, which includes interfaces like Collection, List, Set, Map, and more. We'll explain the differences between these interfaces and how they're implemented in various classes.

Next, we'll dive into the details of each data structure, including List (which allows duplicates and maintains order), Queue (which uses a first-in, first-out (FIFO) ordering), Set (which doesn't allow duplicates), and Map (which stores key-value pairs). We'll show you common methods and how to use them with code demos.

Then, we'll discuss the differences between Comparator and Comparable interfaces and how they're used to sort collections.

Finally, we'll cover the Iterator interface, which is used to traverse collections and access their elements. We'll explain how to use it with code examples.

If you're looking to level up your Java programming skills and improve your collection management, this tutorial is for you! Watch now and start using the power of the Java Collections Framework.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
00:00:00 Introduction
00:00:12 Why Collection Framework?
00:02:27 Demo0 : Understanding drawbacks of Array
00:11:30 What is a Collection Framework?
00:19:51 Understanding Collection Framework
00:20:02 Demo1 : Understanding List and its common methods
01:23:44 Demo2 : Understanding Queue & Deque and its common methods
01:43:23 Demo2 : Understanding Set and its common methods
02:03:28 Demo3 : Understanding Map and its common methods
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Download the code from GitHub Repository:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Subscribe to our channel and press the bell icon to get regular updates:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
📌 Social Media
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Copyright © 2023 ScaleUp India - All Rights Reserved
Рекомендации по теме
Комментарии
Автор

Subscribe to our channel and press the bell icon to get regular updates:

abhishekvermaa
Автор

best video to learn as well as revise the topic .

atharvabhalerao
Автор

Completed this video and run the demos and did some modifications, experimented on them. Next moving to lambdas and streams. Thank you very much for this great content.

nivedhasankaran
Автор

Excellent video. Able to revise all collection concepts in one video. Please make a video on internal implementations of Hashmap, LinkedHashMap, TreeSet as these are asked in many interviews

nithinmakam
Автор

Hi Sir, I have completed Chapter 3: Collections and am now moving on to the next chapter "Multithreading".

masanilokesh
Автор

The size is 5 and the data type is String

nivedhasankaran
Автор

ye video shi thi baki sab se compare kare to
nice explanation

Mr_UjjwalMishra
Автор

for ur patient and pace of explanation so good sir

SaiKumar-kc
Автор

Thanks for the video sir from this understood the basics, So could pls provide video for Possible interview questions regarding collections, with exp..so it will be more useful for us.

hariharansankar
visit shbcf.ru