Java - OOP - Inheritance 2

preview_player
Показать описание
This video looks at how inheritance is coded in Java. You wil see how to use EXTENDS to make one class inherit all the public (and protected) variables and methods from another. The video then goes on to show how these variables and methods can be used even though the super-classes (the ones being inherited) have not been instantiated.
Рекомендации по теме