Hello
Can someone help me understand the difference?
Human h = new Human();
or
Man m = new Man();
vs.
Human h2 = new Man();
recently I have seen an object instantiated like this - where it references this other object (after the "new" keyword )
I am trying to figure out what exactly this does or even what it's called so I can look into it more.
thank you