InterviewSolution
Saved Bookmarks
| 1. |
If A Base Class Has A Number Of Overloaded Constructors, And An Inheriting Class Has A Number Of Overloaded Constructors; Can You Enforce A Call From An Inherited Constructor To A Specific Base Constructor? |
|
Answer» Yes, just place a COLON, and then KEYWORD base (parameter LIST to invoke the appropriate CONSTRUCTOR) in the overloaded constructor definition inside the inherited class. Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class. |
|