If you create a class that extends another class and you call super in your constructor, does this create 2 instances (one super class and one sub class).?
Im trying to understand where it all lives eg;
If you create the super class Animal, and then a sub class Cat which extends animal, when you run the code, are 2 instances created, such as an Animal instance, and a Cat instance both in memory. And if your using one of the methods from the Super class, are theses methods created in the subclass or is there just some kind of link to the super class.
I have no issues with using them, but its just bugging me because i dont know lol