I have the next question. I have interface
public interface MyInterface {
blah blah
}
And I have child:
public class MyChild implemets MyInterface {
blah blah
}
What is the difference between:
MyChild child = new MyChild();
and
MyInterface child = new MyChild();
?