I don't know how to phrase this question properly, but I can't seem to find a similar question on StackOverflow
Say I have a abstract base class A and a child class B.
Apparently I can create the child object via both of these lines
A child = new B();
B child = new B();
And it seems like they support the same usage of methods.
What's the difference?