mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-28 06:34:41 +00:00
auto commit
This commit is contained in:
+1
-4
@@ -572,10 +572,7 @@ public class AbstractExtendClassExample extends AbstractClassExample{
|
||||
```
|
||||
|
||||
```java
|
||||
AbstractClassExample ac1 = new AbstractClassExample(); // 'AbstractClassExample' is abstract; cannot be instantiated
|
||||
```
|
||||
|
||||
```java
|
||||
// AbstractClassExample ac1 = new AbstractClassExample(); // 'AbstractClassExample' is abstract; cannot be instantiated
|
||||
AbstractClassExample ac2 = new AbstractExtendClassExample();
|
||||
ac2.func1();
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user