14.3 Collection and Generics | List Interface

preview_player
Показать описание
This video shows implementation of ArrayList.
A List is an ordered Collection (sometimes called a sequence). Lists may contain duplicate elements. The ArrayList, which is used for better-performing implementation.
The add and addAll operations always append the new element(s) to the end of the list.

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

Well done ! Very clear and practically explained work with the List and its advantages. Keep on !

vladanulardzic
Автор

sir...ur teaching is really mindblowing...ty sir

jyotiawasthi
Автор

Sir the way in which you teach is great
very easy to understand
Sir please make a video on Mongodb and cordova

JackSparrow-swjt
Автор

Hiii sir where i can find program based on collections. i need approx 100 program for practice

pushpankarkumar
Автор

Hello Sir. What is the function of "::" in 5:17. Do you have any videos or links for that. Thanx

der__forschera
Автор

Hi navin i don't see how forEach method is related ro Stream Api as we haven't used stream() method and the method reference parameter also has nothing to do with Stream Api. forEach is just a default method added in Iterable interface. Am I wrong? Please answer.

coolud
Автор

If i want to add values.add(2, 10) and we also use sort then (2, 10) useless then what we can call this process ??...
and Thanks for educate us.

vinayghadigaonkar
Автор

i dont understand why is that Collection.sort is working.? isn't there should be List.sort instead?

sandyido
Автор

hi sir in the video at 4.47 you write List<Integer>
but you sort the values using Collection.sort(values) why?

kamaldeepak
Автор

List<Integer> Values=new ArrayList<Integer>();


Eclipse through error "The type List is not generic; it cannot be parameterized with arguments <Integer>". Why?

AbdulJalil-lnle
Автор

im using eclipse for java, while using some statements such from
Collections class are not working for e.g
: Collection.Sort(value);
then another one is

is also not working.. whats the reason behind this...

vimal
Автор

sir...can u tell the difference bw sort and order

jyotiawasthi
Автор

Hello Sir, I need some help. The eclipse ide is not recognizing the list interface. It is stating that the list is not generic when i am mentioning the integer type generic. Do i need to change the compiler settings?

IrfanKhan-jtje
Автор

Collection is an Interface how list can extends collection it supposed to be implements right?

AnilDS
Автор

Why list interface is used for declaring an arraylist

mrclassy
Автор

Sir what is this?
int iArr[] = {2, 1, 9, 6, 4};

for (int number : iArr) {
System.out.println("Number = " + number);
}

Arrays.sort(iArr);
What is Arrays here?

jonsnow
Автор

Sir what about the iterator part? did you explain it in some other video?

aishikbhattacharya
Автор

Can we sort the ArrayList without using collections .

AjayKumar-zhyt
Автор

Why do you say "Welcome back Aliens" at the start of the video?

vergillader
Автор

Collection is a Interface, how List extends Collection

dhanalekshmi