www.itechowais.tech |
Features of Constructor in OOP | C++ :
- Constructor is always declared in the Public section.
- It is called automatically when an object of the class is created.
- It has no return type not even void.
- It cannot be inherited and virtual.
0 Comments
If you have any suggestion or doubt, please ask me.
Emoji