What is the Class Inheritance?

It’s a copy of an original Class that you can modify or add their attributes and methods. How this is done?

public SonClass extends MotherClass {}

 

Advertisements

Create a website or blog at WordPress.com

Up ↑