0
Do we require instance for subclass?
Every class require an instance so we created instance for animal class which is SuperClass of class cat and class dag. Why we didn't created instance for dog and cat?
1 Respuesta
+ 1
you can also create a instance of cat and dog class
..if you want to call method of cat or dog class