Can we add premetive dt in LinkedList like we used to do in C?iguess not..
Objects in Linked List
if you use generics to parameterize the LinkedList like Linkedlist<Integer> = new..... then you can add int variables to it . Or you can use wrapper classes for each primitive dt to get their object version to use for lists and sets etc. For more information read up on wrapper classes, generics, autoboxing and unboxing.