auto commit
This commit is contained in:
parent
c43645a9e4
commit
5c1c64ce48
|
@ -572,10 +572,7 @@ public class AbstractExtendClassExample extends AbstractClassExample{
|
||||||
```
|
```
|
||||||
|
|
||||||
```java
|
```java
|
||||||
AbstractClassExample ac1 = new AbstractClassExample(); // 'AbstractClassExample' is abstract; cannot be instantiated
|
// AbstractClassExample ac1 = new AbstractClassExample(); // 'AbstractClassExample' is abstract; cannot be instantiated
|
||||||
```
|
|
||||||
|
|
||||||
```java
|
|
||||||
AbstractClassExample ac2 = new AbstractExtendClassExample();
|
AbstractClassExample ac2 = new AbstractExtendClassExample();
|
||||||
ac2.func1();
|
ac2.func1();
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user