Collection and Generics in Java part 2

preview_player
Показать описание
Collection interface provides many functions like size(), iterator(),stream(), etc. List interface

offers you a feature where we can add elements to a specific location. We can also use sort()

method of a Collections class using List interface and which is not possible using Collection

interface.

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

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

sir your videos are too good....but when you explaining something in practical part why the volume goes down in compare of your theory videos???

AamirKhan-exzw
Автор

when v want to add string in generics then v hav to write<string> instead of <integer>

NVworld
Автор

List<Integer> l = new ArrayList<Integer>(); While writing this I am getting an error as - "type List does not take parameters". Sir, please suggest a solution.

khushboos