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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!