/*1. indexOf(Object o) : This method returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. Declaration : public int ...
A doubly-linked list was implemented as a Java program using object oriented concepts, mainly encapsulation and inheritance. Various methods such as remove (), get (), indexOf (), lastIndexOf (), ...