class extends 1

class extends

class className extends otherClassName{
	// code
}

Here is what the above code is Doing:
1. We’re creating a new class called className.
2. We’re making className inherit from otherClassName.
3. We’re defining the class.

Similar Posts