Add more information about abstraction (#18461)
* Add more information about abstraction * Update index.md
This commit is contained in:
@ -46,3 +46,4 @@ Car carObj = new Car(); // valid
|
|||||||
Motorcycle mBikeObj = new Motorcycle(); // valid
|
Motorcycle mBikeObj = new Motorcycle(); // valid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the child class doesn't implement the abstract methods of the father, it becomes an abstract class.
|
||||||
|
Reference in New Issue
Block a user