mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-09-04 22:02:48 +08:00
@@ -73,8 +73,8 @@ abstract class Basic3 {
|
||||
}
|
||||
|
||||
public class AbstractWithoutAbstracts {
|
||||
// Basic b3 = new Basic3();
|
||||
// error: Basic 3 is abstract; cannot be instantiated
|
||||
// Basic3 b3 = new Basic3();
|
||||
// error: Basic3 is abstract; cannot be instantiated
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user