No need to wrap the line here. Usually, it is either
```
class X extends Y
```
or
```
class X 
  extends Y
```