Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 229 Bytes

File metadata and controls

11 lines (7 loc) · 229 Bytes

Class Extension

Just like interfaces can extend other interfaces, classes can extend other classes.

class BodyOfWater {}

class Ocean extends BodyOfWater {}