class merging

JavaScript
class className extends otherClassName{
	// code
}class className extends otherClassName{
	// code
}class className : otherClassName{
	// code
}
Source

Also in JavaScript: