Skip to content

Commit c9af15d

Browse files
committed
upd
1 parent b10c691 commit c9af15d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/methods.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ abstract class A {
6060
}
6161
```
6262

63+
If a subclass is abstract, it does not need to override a method marked `abstract` in the super class.
64+
6365
## Generators
6466

6567
A method is a generator if the `yield` operator appears at least once in the method's body. A generator is a method that evaluates like an iterator, consumed in pauses of `yield` operators until it hits a `return` statement or the end of code. A generator returns a `Generator.<T>` object.

0 commit comments

Comments
 (0)