I'm reading through the Oracle doc, but I don't get something.
Suppose I have
public interface a {
//some methods
}
public class b implements a {
//some methods
}
What would be the difference between this:
a asd=new b();
and this:
b asf=new b();