#oops
Read more stories on Hashnode
Articles with this tag
When Inheritance and when Aggregation? Inheritance should be used only if the relationship is-a is maintained throughout the lifetime of the objects...
In Java, the parent class object must be initialized before the child class object because the child class object inherits the properties and methods...
When we run new Subclass() then then sections of the code are executed in the following sequence In Superclass, all static variables are initialized...