Collection API and Generics in Java part 1

preview_player
Показать описание
In collection we can have any data type. By default collection is a collection of object. We can

use generics to specify which type of element we should have. Generics only works with angular

brackets i.e. <>. Syntax of generics changes from version 1.5 by version 1.7

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

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

Hats off sir, you made every Java topics so simple. 
Thank you.

ronakb
Автор

Very Nice presentations Mr. Naveen, Great explanation in simple words.

srinivasbandaru
Автор

sir thank you so much your videos was awesome..

srinath
Автор

hi sir your videos are awsome. i have one query that what should we use in searching an element if data is sorted, which provide better performance Collection or Arrays

kanav
Автор

Here we printed an object o, without using tostring method ie basically used to override, how were we able to print the values?
In previous videos u told that when we print an object the package, class name, hashcode is printed.

SukhdevSingh-myzt
Автор

Excellent explanation ! Everybody can see your big knowledge ! This was great ! Thank you. Keep on !

vladanulardzic
Автор

you made so awesome tut. but a lots of video have voice problem. I mean videos are not loud enough

tammymand
Автор

Hi Sir, i am getting error for int like "the method add(object) in the type list is not applicable for the arguments (int)" while using below code

import java.util.ArrayList;
import java.util.Collection;

public class CollectionList {
public static void main(String[] args) {
Collection c = new ArrayList();
c.add(1);
c.add("siddharth");
c.add(4.3);

}
}

siddharthbhandari
Автор

The video is great but the audio is not audible :( Need to use subtitle which distracted me from the video main materials

Nischhal
Автор

Audio is very low. Can't able to listen clearly

saikishore
Автор

Not getting the practical video of urs on collections

SpiritualMith