Thanks! We'll email you
when relevant content is
added and updated.
Solving this query is indispensable to me proceeding further in Java. If we declare a List interface as
List a = new arraylist(). By this a can access all the methods that are defined in the list interface..
You can also declare an arraylist a = new arraylist(). Now arraylist is a class which implicitly implements list. Java postulates state that if an interface is extended/implemented by another class all its methods have to be implemented. How is it that whilst using arraylist some methods in the list interface are left unimplemented... Please get back to me
January 7, 2014 7:19 PM
January 8, 2014 4:43 PM