Why we have both Interface and abstract class, even we can achieve interface by making all methods of abstract class abstract. Please explain the usage difference between both.
List list = new ArrayList();
ArrayList arraylist = new ArrayList();
what difference the above two lines make, except dynamic method dispatch. Rather if we define with ArrayList reference we can have more methods to use.
Thanks in Advance. :)