Saved Bookmarks
| 1. |
Which constructor definition will produce a compile time error? |
|
Answer» Constructors doesn't have any return type so can't be overloaded using return type. If constructors have same signature then it will produce a compile TIME error. Explanation: The constructor should use all the default ARGUMENTS. This will allow the constructor to be called EVEN if no arguments are passed. |
|